Skip to content
This repository was archived by the owner on Dec 28, 2023. It is now read-only.

Commit 5aaba76

Browse files
committed
Address server url for production
1 parent 30dc639 commit 5aaba76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appRegistrationEffects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ createEffect(() => {
1212
localStorage.setItem('app_id', app_id);
1313
}
1414
const loginUrl = () => {
15-
if (server_url) {
15+
if (server_url()) {
1616
return `https://${server_url()}/oauth2/authorize?app_id=${app_id()}&l=EN&brand=deriv`;
1717
}
1818
return `https://oauth.deriv.com/oauth2/authorize?app_id=${app_id()}&l=EN&brand=deriv`;

0 commit comments

Comments
 (0)