From 279c6a02135dd567d2a73eb3d7577c3bd6c53955 Mon Sep 17 00:00:00 2001 From: lukaw3d Date: Thu, 30 May 2024 23:08:08 +0200 Subject: [PATCH] Migrate from grpc.oasis.dev to grpc.oasis.io --- .changelog/1965.bugfix.md | 1 + internals/getSecurityHeaders.js | 4 ++-- src/config.ts | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .changelog/1965.bugfix.md diff --git a/.changelog/1965.bugfix.md b/.changelog/1965.bugfix.md new file mode 100644 index 0000000000..79e8816390 --- /dev/null +++ b/.changelog/1965.bugfix.md @@ -0,0 +1 @@ +Migrate from grpc.oasis.dev to grpc.oasis.io diff --git a/internals/getSecurityHeaders.js b/internals/getSecurityHeaders.js index 6ba0ff299b..9bc9d77791 100644 --- a/internals/getSecurityHeaders.js +++ b/internals/getSecurityHeaders.js @@ -45,8 +45,8 @@ const getCsp = ({ isExtension, isDev }) => 'self'; connect-src 'self' - https://grpc.oasis.dev - https://testnet.grpc.oasis.dev + https://grpc.oasis.io + https://testnet.grpc.oasis.io https://api.oasisscan.com ${isDev ? localnet : ''} ${isDev ? hmr : ''} diff --git a/src/config.ts b/src/config.ts index 53c4af00e2..6ed5df1332 100644 --- a/src/config.ts +++ b/src/config.ts @@ -28,7 +28,7 @@ type BackendConfig = { export const config: BackendConfig = { mainnet: { - grpc: 'https://grpc.oasis.dev', + grpc: 'https://grpc.oasis.io', ticker: 'ROSE', min_delegation: 100, [BackendAPIs.OasisMonitor]: { @@ -42,7 +42,7 @@ export const config: BackendConfig = { }, }, testnet: { - grpc: 'https://testnet.grpc.oasis.dev', + grpc: 'https://testnet.grpc.oasis.io', ticker: 'TEST', min_delegation: 100, [BackendAPIs.OasisMonitor]: {