Skip to content

Commit 217a18e

Browse files
authored
fix: update default urls (#39)
1 parent a9e0924 commit 217a18e

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/pages/Options/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import {
77
} from '../../utils/storage';
88

99
export default function Options(): ReactElement {
10-
const [notary, setNotary] = useState('https://localhost:7047');
11-
const [proxy, setProxy] = useState('ws://127.0.0.1:55688');
10+
const [notary, setNotary] = useState('https://notary.pse.dev');
11+
const [proxy, setProxy] = useState('wss://notary.pse.dev/proxy');
1212
const [dirty, setDirty] = useState(false);
1313

1414
useEffect(() => {

src/reducers/requests.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ export const setRequests = (requests: RequestLog[]): Action<RequestLog[]> => ({
4040
});
4141

4242
export const notarizeRequest = (options: RequestHistory) => async () => {
43-
const notaryUrl = await get(NOTARY_API_LS_KEY, 'https://127.0.0.1:7047');
44-
const websocketProxyUrl = await get(PROXY_API_LS_KEY, 'ws://127.0.0.1:55688');
43+
const notaryUrl = await get(NOTARY_API_LS_KEY, 'https://notary.pse.dev');
44+
const websocketProxyUrl = await get(
45+
PROXY_API_LS_KEY,
46+
'wss://notary.pse.dev/proxy',
47+
);
4548

4649
chrome.runtime.sendMessage<any, string>({
4750
type: BackgroundActiontype.prove_request_start,

0 commit comments

Comments
 (0)