Changed URL env varbile name in front-end to REMOTE_URL, since it was conflicting with the backend. Changed the initServer to reflect these new changes

This commit is contained in:
subnub
2020-03-08 14:09:47 -04:00
parent 45a4509525
commit eb18a50b36
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ const initServer = async() => {
const clientTranscode = getClientTranscode.value || "false";
let fullInfoClient = "PORT=" + clientPortNumber + "\n"
+ "URL=" + clientURL
+ "REMOTE_URL=" + clientURL
console.log("client transcode", clientTranscode);
+1 -1
View File
@@ -1,6 +1,6 @@
const env = {
port: process.env.PORT,
url: process.env.URL,
url: process.env.REMOTE_URL,
enableVideoTranscoding: process.env.ENABLE_VIDEO_TRANSCODING,
}
+1 -1
View File
@@ -66,7 +66,7 @@ module.exports = (env) => {
CSSExtract,
new webpack.DefinePlugin({
"process.env.PORT": JSON.stringify(process.env.PORT),
"process.env.URL": JSON.stringify(process.env.URL),
"process.env.REMOTE_URL": JSON.stringify(process.env.REMOTE_URL),
"process.env.ENABLE_VIDEO_TRANSCODING": JSON.stringify(process.env.ENABLE_VIDEO_TRANSCODING)
}),
new CompressionPlugin()