Skip to content

Commit

Permalink
🧑‍💻 chore(custom): api地址变更
Browse files Browse the repository at this point in the history
  • Loading branch information
master1lan committed Mar 5, 2023
1 parent 38bc08a commit 26b0c85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/vite.dev.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default defineConfig({
server: {
proxy: {
"/v1": {
target: "https://api.eoe.best/eoefans-api",
target: "https://api.vtb.link/eoefans-api",
changeOrigin: true,
},
},
Expand Down
3 changes: 2 additions & 1 deletion src/utils/fetch/tool.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export const Host_Url = isdev ? "/v1" : `https://api.eoe.best/eoefans-api/v1`;
export const Host_Url = isdev ? "/v1" : `https://api.vtb.link/eoefans-api/v1`;
`https://api.eoe.best/eoefans-api/v1`;

0 comments on commit 26b0c85

Please sign in to comment.