Skip to content

Commit

Permalink
removing NODE_PORT env var and using location.origin as the default a…
Browse files Browse the repository at this point in the history
…piHost (#3)
  • Loading branch information
RyanNoelk authored May 6, 2018
1 parent 55ecc1c commit d5226e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# NGINX doesn't let you use ENV vars within the conf file.
# We use sed to set the env vars we need.
# Sed replace the API_PORT and NODE_PORT vars.
# Sed replace the API_PORT vars.

sed -i "s/API_PORT/$API_PORT/g" /etc/nginx/conf.d/default.conf;

Expand Down

0 comments on commit d5226e7

Please sign in to comment.