From 500c4dc50f6332b3e6975dcefde7d0b76ca61c8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=92scar=20Casajuana?= Date: Thu, 5 Oct 2023 10:32:28 +0200 Subject: [PATCH] New faucet and oauth URLs --- src/constants/rainbow.ts | 6 +++--- vite.config.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/constants/rainbow.ts b/src/constants/rainbow.ts index 6f1e09dd..c57c090e 100644 --- a/src/constants/rainbow.ts +++ b/src/constants/rainbow.ts @@ -1,4 +1,4 @@ -import { Wallet, connectorsForWallets } from '@rainbow-me/rainbowkit' +import { connectorsForWallets, Wallet } from '@rainbow-me/rainbowkit' import '@rainbow-me/rainbowkit/styles.css' import { coinbaseWallet, metaMaskWallet, rainbowWallet } from '@rainbow-me/rainbowkit/wallets' import { oAuthWallet } from '@vocdoni/rainbowkit-wallets' @@ -37,7 +37,7 @@ const connectors = connectorsForWallets([ name: 'Github', iconUrl: 'https://authjs.dev/img/providers/github.svg', options: { - oAuthServiceUrl: 'https://oauth.vocdoni.net/', + oAuthServiceUrl: 'https://oauth.vocdoni.io/', oAuthServiceProvider: 'github', }, }) as unknown as Wallet, @@ -47,7 +47,7 @@ const connectors = connectorsForWallets([ name: 'Google', iconUrl: 'https://authjs.dev/img/providers/google.svg', options: { - oAuthServiceUrl: 'https://oauth.vocdoni.net/', + oAuthServiceUrl: 'https://oauth.vocdoni.io/', oAuthServiceProvider: 'google', }, }) as unknown as Wallet, diff --git a/vite.config.ts b/vite.config.ts index e1ab1e1d..7e7be406 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -18,7 +18,7 @@ export default defineConfig({ }, define: { 'import.meta.env.VOCDONI_ENVIRONMENT': JSON.stringify(vocdoniEnvironment), - 'import.meta.env.FAUCET_URL': JSON.stringify(process.env.FAUCET_URL || 'https://api.faucet.vocdoni.net/v2'), + 'import.meta.env.FAUCET_URL': JSON.stringify(process.env.FAUCET_URL || 'https://api.faucet.vocdoni.io/v2'), 'import.meta.env.FAUCET_AMOUNT': JSON.stringify(process.env.FAUCET_AMOUNT || 800), }, plugins: [tsconfigPaths(), react()],