Skip to content

Commit 5c786db

Browse files
authored
fix: missing script url (#1634)
1 parent f02f69a commit 5c786db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scriptUrls.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const API_URL =
22
process.env.NODE_ENV === 'development'
33
? 'http://localhost:35001'
4-
: new URL(process.env.NEXT_PUBLIC_API_URL).hostname;
4+
: new URL(process.env.NEXT_PUBLIC_API_URL || 'http://localhost:35001').hostname;
55

66
const scriptSrcUrls = [
77
API_URL,

0 commit comments

Comments
 (0)