remove unneeded protocol variable w/ burnettk
This commit is contained in:
parent
2630dbfb45
commit
b5584d73f3
|
@ -12,7 +12,6 @@ if (/^\d+\./.test(hostname) || hostname === 'localhost') {
|
|||
hostAndPort = `${hostname}:${serverPort}`;
|
||||
protocol = 'http';
|
||||
}
|
||||
protocol = 'http';
|
||||
|
||||
let url = `${protocol}://${hostAndPort}/v1.0`;
|
||||
console.log('OUR URL', url);
|
||||
|
|
Loading…
Reference in New Issue