This commit is contained in:
2023-03-10 11:26:39 +08:00
parent 363130ddd0
commit 0428a1b155
10 changed files with 270 additions and 20 deletions

View File

@@ -13,17 +13,17 @@ export default defineNuxtConfig({
}
}
},
nitro: {
devProxy: {
'/api/img': {
target: 'http://106.15.192.42:3000/api/img'
},
'/api/drawing': {
target: 'http://106.15.192.42:3000/api/drawing'
},
'/api/text': {
target: 'http://139.224.128.24:7861/api/text_to_text'
},
},
}
//nitro: {
// devProxy: {
// '/api/img': {
// target: 'http://106.15.192.42:3000/api/img'
// },
// '/api/drawing': {
// target: 'http://106.15.192.42:3000/api/drawing'
// },
// '/api/text': {
// target: 'http://139.224.128.24:7861/api/text_to_text'
// },
// },
//}
})