Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 59ae599

Browse files
committed
fix: 🚀 fix oauth and websocket urls and redirects
1 parent f958598 commit 59ae599

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ npm-debug.log*
2222
yarn-debug.log*
2323
yarn-error.log*
2424

25-
.idea
25+
.idea
26+
27+
.vscode/settings.json

src/features/Endpoint/Endpoint.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { useForm } from 'react-hook-form';
33
import { Button, Text } from '@deriv/ui';
44
import { getAppId } from '@site/src/utils';
5-
import { OAUTH_URL } from '@site/src/utils/constants';
5+
import { DEFAULT_WS_SERVER } from '@site/src/utils/constants';
66
import styles from './Endpoint.module.scss';
77

88
interface IEndpointFormValues {
@@ -12,7 +12,7 @@ interface IEndpointFormValues {
1212
const EndPoint = () => {
1313
const default_endpoint = {
1414
app_id: getAppId(),
15-
server_url: OAUTH_URL,
15+
server_url: DEFAULT_WS_SERVER,
1616
};
1717

1818
const {

0 commit comments

Comments
 (0)