mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
vue config add API_PROXY.
This commit is contained in:
@@ -3,6 +3,11 @@ module.exports = {
|
||||
'vuetify'
|
||||
],
|
||||
devServer: {
|
||||
disableHostCheck: true
|
||||
disableHostCheck: true,
|
||||
proxy: process.env.API_PROXY ? {
|
||||
'^/api': {
|
||||
target: process.env.API_PROXY,
|
||||
},
|
||||
} : undefined,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user