0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00

Use relative urls for api and view apps.

This commit is contained in:
Andrey Antukh 2017-01-21 18:13:42 +01:00
parent 2c06c5b905
commit 4eaece6cb5
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95
2 changed files with 4 additions and 4 deletions

View file

@ -10,8 +10,8 @@
:output-to "dist/js/main.js"
:source-map "dist/js/main.js.map"
:output-dir "dist/js/main"
:closure-defines {"uxbox.config.url" "https://test.uxbox.io/api"
"uxbox.config.viewurl" "https://test.uxbox.io/view/"}
:closure-defines {"uxbox.config.url" "/api"
"uxbox.config.viewurl" "/view/"}
:optimizations :advanced
:cache-analysis false
:externs ["externs/main.js"]

View file

@ -10,8 +10,8 @@
:output-to "dist/js/view.js"
:source-map "dist/js/view.js.map"
:output-dir "dist/js/view/"
:closure-defines {"uxbox.config.url" "https://test.uxbox.io/api"
"uxbox.config.viewurl" "https://test.uxbox.io/view/"}
:closure-defines {"uxbox.config.url" "/api"
"uxbox.config.viewurl" "/view/"}
:optimizations :simple
:cache-analysis false
:externs ["externs/main.js"]