We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcb2422 commit 4635a48Copy full SHA for 4635a48
src/pages/Landing/utils.ts
@@ -50,7 +50,7 @@ export const getSurgeHost = (): {
50
hostname: string
51
port: string
52
} => {
53
- if (process.env.NODE_ENV !== 'production') {
+ if (process.env.NODE_ENV === 'production') {
54
const protocol = window.location.protocol
55
const port = window.location.port
56
? window.location.port
0 commit comments