-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable localhost reverse proxy serving #3422
base: main
Are you sure you want to change the base?
Enable localhost reverse proxy serving #3422
Conversation
c88ecc2
to
0f9666f
Compare
0f9666f
to
f2944bf
Compare
gulpfile.js
Outdated
@@ -23,6 +23,7 @@ if (!isCiBuild()) { | |||
} | |||
|
|||
const $$ = require('gulp-load-plugins')(); | |||
const dotenv = require('dotenv').config(); // eslint-disable-line |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because dotenv runs immediately to read .env
files if available, it does not need to be used after creation. As this violates the eslint/no-unused-vars
rule, I've disabled it for this line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would removing the const dotenv =
part work too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ChrisAntaki I tested this, and it still worked fine, so I've removed it in 78a6d31
This PR moves some changes from the stand-alone
scenic-demo
repo to the embedded version within this repo. These changes allow for running the local app behind a reverse proxy, which can be of benefit for some development environments. The changes migrate only some of the changes from PR #217, as that PR handled two things:This smaller PR only does the first of those two tasks.