File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 88 </div >
99 <div >
1010 <ActivityBanner :Enable =" true" >
11- OhMyGPA 论坛正在试运营 ! 访问 <a
11+ OhMyGPA 论坛试运营 ! 访问 <a
1212 href =" https://ohmygpa.icu/"
1313 target =" _blank"
1414 class =" inline-link"
15- >https:// ohmygpa.icu/ </a
15+ >ohmygpa.icu</a
1616 > 查看详情!
1717 </ActivityBanner >
1818 </div >
1919
20- <router-view :key =" $route.path" />
20+ <router-view :key =" $route.path" class = " mt-15 sm:mt-0 " />
2121 <v-snackbar
2222 v-model =" snackbar.show"
2323 :color =" snackbar.color"
Original file line number Diff line number Diff line change @@ -25,6 +25,16 @@ module.exports = {
2525 hot : true ,
2626 port : 8000 ,
2727 compress : true ,
28+ proxy : {
29+ '/v1' : {
30+ target : 'http://coursebench.org' ,
31+ changeOrigin : true ,
32+ secure : false ,
33+ pathRewrite : {
34+ // '^/v1': '' // 如果后端不需要/v1前缀,可以移除它
35+ }
36+ }
37+ }
2838 } ,
2939 transpileDependencies : [ 'vuetify' ] ,
3040 configureWebpack : {
You can’t perform that action at this time.
0 commit comments