Skip to content

Commit

Permalink
修改接口
Browse files Browse the repository at this point in the history
  • Loading branch information
p_xyunli committed Jan 7, 2024
1 parent e254cd5 commit bc64ae6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/webgal/src/Components/UI/Menu/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const Login: FC = () => {
// 发送请求
const LoginRequest = async () => {
// POST请求
const response = await fetch('http://synergy_api_server:8081/login', {
const response = await fetch('http://139.224.35.21:443/login', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down
2 changes: 1 addition & 1 deletion packages/webgal/src/Core/controller/scene/sceneFetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import axios from 'axios';
*/
export const sceneFetcher = async (sceneUrl: string) => {
let url = sceneUrl;
let checkUrl = 'http://172.18.0.5:8081/api/v1/game/scene?url=' + sceneUrl;
let checkUrl = 'http://139.224.35.21:443/api/v1/game/scene?url=' + sceneUrl;
// sceneUrl 如果结果为404,则使用默认场景 end.txt
try {
await axios.get(url);
Expand Down

0 comments on commit bc64ae6

Please sign in to comment.