Skip to content

Commit

Permalink
Merge pull request #47 from EOEFANS/main
Browse files Browse the repository at this point in the history
变更后端api地址
  • Loading branch information
master1lan authored and GitHub Enterprise committed Mar 5, 2023
2 parents 5f734b3 + b655568 commit 711917d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## 1.2.2 (2023-03-05)


### 🎫 Chores

* **custom**: api地址变更 ([26b0c85](https://vlink.dev/EOEFANS/eoefans-web/commits/26b0c85))



## 1.2.1 (2023-03-05)


Expand Down
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eoefans-web",
"version": "1.2.1",
"version": "1.2.2",
"type": "module",
"scripts": {
"dev": "vite --config ./config/vite.dev.config.ts",
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 711917d

Please sign in to comment.