mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -05:00
Use relative urls for api and view apps.
This commit is contained in:
parent
2c06c5b905
commit
4eaece6cb5
2 changed files with 4 additions and 4 deletions
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue