This commit is contained in:
parent
52dca1cd3c
commit
a8a3d58ed1
@ -8,3 +8,4 @@ npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
.env*
|
||||
|
||||
|
@ -44,8 +44,8 @@ SIGNER_BASE_URL=https://dev3.4nkweb.com/signer/
|
||||
# WS
|
||||
# RELAY_URLS=wss://demo.4nkweb.com/ws
|
||||
RELAY_URLS=wss://dev4.4nkweb.com/ws
|
||||
# SIGNER_WS_URL=https://dev4.4nkweb.com/signer/
|
||||
SIGNER_WS_URL=https://dev3.4nkweb.com/signer/
|
||||
# SIGNER_WS_URL=ws://dev4.4nkweb.com/signer/
|
||||
SIGNER_WS_URL=ws://dev3.4nkweb.com
|
||||
|
||||
# IHM URLS
|
||||
# VITE_BOOTSTRAPURL=http://sdk_relay:8090/
|
||||
@ -54,8 +54,8 @@ VITE_BOOTSTRAPURL=https://dev4.4nkweb.com/ws/
|
||||
# Cartes de test Stripe
|
||||
SUCCES='4242 4242 4242 4242'
|
||||
DECLINED='4000 0025 0000 3155'
|
||||
CORS_ALLOWED_ORIGINS=http://local.4nkweb.com:3000,https://dev4.4nkweb.com
|
||||
|
||||
SIGNER_API_KEY=your_signer_api_key_here
|
||||
|
||||
# ================================= /!\ sensible ========================
|
||||
|
||||
@ -86,4 +86,4 @@ STRIPE_STANDARD_ANNUAL_SUBSCRIPTION_PRICE_ID=
|
||||
STRIPE_UNLIMITED_SUBSCRIPTION_PRICE_ID=
|
||||
STRIPE_UNLIMITED_ANNUAL_SUBSCRIPTION_PRICE_ID=
|
||||
|
||||
SIGNER_API_KEY=your_signer_api_key_here
|
||||
SIGNER_API_KEY=your-api-key-change-this
|
@ -1,5 +1,17 @@
|
||||
import LoginCallBack from "@Front/Components/Layouts/LoginCallback";
|
||||
import { useEffect } from "react";
|
||||
|
||||
export default function Route() {
|
||||
useEffect(() => {
|
||||
if (typeof window !== "undefined") {
|
||||
const origin = window.location.origin;
|
||||
if (origin.startsWith("http://local.4nkweb.com:3000")) {
|
||||
const search = window.location.search || "";
|
||||
const target = `https://dev4.4nkweb.com/lecoffre/authorized-client${search}`;
|
||||
window.location.replace(target);
|
||||
}
|
||||
}
|
||||
}, []);
|
||||
|
||||
return <LoginCallBack />;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user