|
@@ -87,7 +87,7 @@ const getGamesEvents = async () => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const updateGamesList = ({ platform, games }) => {
|
|
const updateGamesList = ({ platform, games }) => {
|
|
|
- axios.post('http://127.0.0.1:9055/api/triangle/update_games_list', { platform, games })
|
|
|
|
|
|
|
+ axios.post('https://jc.long.bid/api/triangle/update_games_list', { platform, games }, { proxy: false })
|
|
|
.then(res => res.data)
|
|
.then(res => res.data)
|
|
|
.then(ret => {
|
|
.then(ret => {
|
|
|
if (ret.code) {
|
|
if (ret.code) {
|
|
@@ -109,4 +109,4 @@ setInterval(() => {
|
|
|
.catch(err => {
|
|
.catch(err => {
|
|
|
console.error(err);
|
|
console.error(err);
|
|
|
});
|
|
});
|
|
|
-}, 5000);
|
|
|
|
|
|
|
+}, 10000);
|