auto push
This commit is contained in:
parent
7b8e3983c5
commit
8a706ad987
@ -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 {
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user