Skip to content

Commit

Permalink
perf
Browse files Browse the repository at this point in the history
  • Loading branch information
1962247851 committed Apr 28, 2024
1 parent ce2225a commit 5656746
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ordinaryroad-blog-ui/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ export default {
'^/api/bing': ''
}
},
// TODO 不使用代理
'/api/hitokoto': {
target: 'https://v1.hitokoto.cn',
pathRewrite: {
'^/api/hitokoto': '/'
}
},
// 不使用代理
// '/api/hitokoto': {
// target: 'https://v1.hitokoto.cn',
// pathRewrite: {
// '^/api/hitokoto': '/'
// }
// },
'/api/blog': {
target: process.env.BLOG_BASE_URL,
pathRewrite: {
Expand Down

0 comments on commit 5656746

Please sign in to comment.