From 8a706ad98727f29c0b9c1205a76f3abf9a7da909 Mon Sep 17 00:00:00 2001 From: kinou-p Date: Thu, 15 Jun 2023 18:11:04 +0200 Subject: [PATCH] auto push --- containers/api/src/auth/login42.ts | 2 +- containers/react/src/components/Profile/Logout.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/containers/api/src/auth/login42.ts b/containers/api/src/auth/login42.ts index da09b7f3..12b23014 100644 --- a/containers/api/src/auth/login42.ts +++ b/containers/api/src/auth/login42.ts @@ -28,7 +28,7 @@ export class loginClass { // client_secret: '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', client_secret: process.env.API_SECRET, code: code, - redirect_uri: process.env.REDIRECT_URI || 'http://localhost:80/api/auth/login', + redirect_uri: process.env.REDIRECT_URI || 'http://192.168.1.19:80/api/auth/login', }; try { diff --git a/containers/react/src/components/Profile/Logout.jsx b/containers/react/src/components/Profile/Logout.jsx index dd422844..788e7b62 100644 --- a/containers/react/src/components/Profile/Logout.jsx +++ b/containers/react/src/components/Profile/Logout.jsx @@ -4,7 +4,7 @@ function Logout(){ localStorage.clear(); - const path = `http://localhost/`; + const path = `http://''/`; // history(path, { replace: true }); // window.location.replace(path); // window.history.pushState({}, '', path);