auto push

This commit is contained in:
kinou-p 2023-06-15 18:27:04 +02:00
parent 594969b93a
commit 16c46744ca
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: process.env.API_SECRET,
code: code,
redirect_uri: process.env.REDIRECT_URI || 'http://'+ process.env.REACT_APP_BASE_URL +'/api/auth/login',
redirect_uri: process.env.REDIRECT_URI || 'http://' + process.env.REACT_APP_BASE_URL + '/api/auth/login',
};
try {

View File

@ -390,7 +390,7 @@ function draw(timestamp)
api.post('/status', {status: 1});
console.log("send loose");
}
window.location.replace("http://localhost/pong");
window.location.replace("http://" + process.env.REACT_APP_BASE_URL + "/pong");
return ;
}