Skip to content
Snippets Groups Projects
Commit 9352440d authored by William Welling's avatar William Welling
Browse files

fixed base url construction

parent 4ab26b17
No related merge requests found
...@@ -56,7 +56,7 @@ for (const key in ENV_CONFIG) { ...@@ -56,7 +56,7 @@ for (const key in ENV_CONFIG) {
ENV_CONFIG[key].baseUrl = [ ENV_CONFIG[key].baseUrl = [
ENV_CONFIG[key].ssl ? 'https://' : 'http://', ENV_CONFIG[key].ssl ? 'https://' : 'http://',
ENV_CONFIG[key].host, ENV_CONFIG[key].host,
ENV_CONFIG[key].port ? (ENV_CONFIG[key].port !== 80 || ENV_CONFIG[key].port !== 443) ? ':' + ENV_CONFIG[key].port : '' : '' ENV_CONFIG[key].port ? (ENV_CONFIG[key].port !== 80 && ENV_CONFIG[key].port !== 443) ? ':' + ENV_CONFIG[key].port : '' : ''
].join(''); ].join('');
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment