diff options
author | Case Duckworth | 2023-01-06 22:40:25 -0600 |
---|---|---|
committer | Case Duckworth | 2023-01-06 22:40:25 -0600 |
commit | 93679f011fad7c8faa99a45d3f0b782985b4d02c (patch) | |
tree | 1cf99704b15dc5789385ae398fb2a94292abb1ce | |
parent | Move processing call to override config file (diff) | |
download | vienna-93679f011fad7c8faa99a45d3f0b782985b4d02c.tar.gz vienna-93679f011fad7c8faa99a45d3f0b782985b4d02c.zip |
Change domain in 'vienna preview'
-rwxr-xr-x | vienna | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vienna b/vienna index 9761714..59201df 100755 --- a/vienna +++ b/vienna | |||
@@ -142,6 +142,10 @@ main() { | |||
142 | } | 142 | } |
143 | 143 | ||
144 | preprocess() { | 144 | preprocess() { |
145 | case "$*" in | ||
146 | *preview*) DOMAIN=http://localhost:${VIENNA_PREVIEW_PORT:-8000} ;; | ||
147 | esac | ||
148 | |||
145 | case "${1:-ok}" in | 149 | case "${1:-ok}" in |
146 | ok) ;; | 150 | ok) ;; |
147 | clean) | 151 | clean) |