Skip to content

Commit 52d1198

Browse files
fix: 修改了后端请求的地址
1 parent 773f830 commit 52d1198

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blogvue/src/config/apiBaseUrl.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const serverUrl = 'https://immortalboy.cn'
2-
// const baseUrl = 'https://immortalboy.cn/api/blog'
3-
const baseUrl = '/api/blog'
2+
const baseUrl = 'https://immortalboy.cn/api/blog'
3+
// const baseUrl = '/api/blog'
44

55
const servicePath = {
66
visitorLogin: baseUrl + '/comment/visitorLogin', // 评论接口:获取文章列表

0 commit comments

Comments
 (0)