Skip to content

Commit 4635a48

Browse files
committed
fix: logic in determining if the environment is in production
1 parent fcb2422 commit 4635a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/Landing/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const getSurgeHost = (): {
5050
hostname: string
5151
port: string
5252
} => {
53-
if (process.env.NODE_ENV !== 'production') {
53+
if (process.env.NODE_ENV === 'production') {
5454
const protocol = window.location.protocol
5555
const port = window.location.port
5656
? window.location.port

0 commit comments

Comments
 (0)