diff options
-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) |