diff --git a/todo-web/apis/apiPath.js b/todo-web/apis/apiPath.js index 1e0125c..f4c8202 100644 --- a/todo-web/apis/apiPath.js +++ b/todo-web/apis/apiPath.js @@ -1,6 +1,6 @@ export const POST = "POST"; export const GET = "GET"; -export const ApiPrefix = process.env.NODE_ENV === 'development' ? "http://192.168.50.2:3000" : "https://todo.sbx0.cn"; +export const ApiPrefix = process.env.NODE_ENV === 'development' ? "http://127.0.0.1:3000" : "https://todo.sbx0.cn"; export const API = "/api"; export const GetToken = API + "/user/client/token"; export const TaskPaging = API + "/task/paging"; diff --git a/todo-web/app/beta/page.jsx b/todo-web/app/beta/page.jsx index e773207..6d2f73b 100644 --- a/todo-web/app/beta/page.jsx +++ b/todo-web/app/beta/page.jsx @@ -1,9 +1,9 @@ export default function Page() { return