auto push

This commit is contained in:
kinou-p 2023-06-15 18:11:04 +02:00
parent 7b8e3983c5
commit 8a706ad987
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ export class loginClass {
// client_secret: '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', // client_secret: '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',
client_secret: process.env.API_SECRET, client_secret: process.env.API_SECRET,
code: code, 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 { try {

View File

@ -4,7 +4,7 @@
function Logout(){ function Logout(){
localStorage.clear(); localStorage.clear();
const path = `http://localhost/`; const path = `http://''/`;
// history(path, { replace: true }); // history(path, { replace: true });
// window.location.replace(path); // window.location.replace(path);
// window.history.pushState({}, '', path); // window.history.pushState({}, '', path);