Skip to content

Commit

Permalink
fix front-proxy setting
Browse files Browse the repository at this point in the history
  • Loading branch information
reaby committed Sep 15, 2022
1 parent c1424ec commit 35aace9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config-default.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const port = 8000; // port for infoscreen


let hostUrl = "http://" + (process.env.HOST || host) + ":" + (process.env.PORT || port);
if (process.env.FRONT_PROXY || false) hostUrl = "http://" + (process.env.HOST || host);
if (process.env.FRONT_PROXY || false) hostUrl = "https://" + (process.env.HOST || host);

export default {
"serverListenPort": process.env.PORT || port,
Expand Down

0 comments on commit 35aace9

Please sign in to comment.