mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
webpack dev server on remote galaxy server
This commit is contained in:
@@ -83,6 +83,10 @@ environment variable:
|
||||
|
||||
GALAXY_URL="http://localhost:8000" make client-dev-server
|
||||
|
||||
Sometimes you want to run your UI against a remote Galaxy server. This is also possible, if you enable `CHANGE_ORIGIN` flag
|
||||
|
||||
CHANGE_ORIGIN=true GALAXY_URL="https://usegalaxy.org/" make client-dev-server
|
||||
|
||||
## Changing Styles/CSS
|
||||
|
||||
Galaxy uses Sass for its styling, which is a superset of CSS that compiles down
|
||||
|
||||
@@ -232,6 +232,8 @@ module.exports = (env = {}, argv = {}) => {
|
||||
proxy: {
|
||||
"/": {
|
||||
target: process.env.GALAXY_URL || "http://localhost:8080",
|
||||
secure: process.env.CHANGE_ORIGIN ? !process.env.CHANGE_ORIGIN : true,
|
||||
changeOrigin: !!process.env.CHANGE_ORIGIN,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user