flyzto 6 달 전
부모
커밋
d1d7b1f556
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      spider/index.js
  2. 1 0
      web/apps/web-antd/src/preferences.ts

+ 2 - 2
spider/index.js

@@ -87,7 +87,7 @@ const getGamesEvents = async () => {
 }
 
 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(ret => {
     if (ret.code) {
@@ -109,4 +109,4 @@ setInterval(() => {
   .catch(err => {
     console.error(err);
   });
-}, 5000);
+}, 10000);

+ 1 - 0
web/apps/web-antd/src/preferences.ts

@@ -10,5 +10,6 @@ export const overridesPreferences = defineOverridesPreferences({
   app: {
     name: import.meta.env.VITE_APP_TITLE,
     enableRefreshToken: true,
+    defaultHomePath: '/workspace',
   },
 });