mirror of https://github.com/veypi/OneAuth.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
508 B
JavaScript
29 lines
508 B
JavaScript
3 years ago
|
module.exports = {
|
||
|
transpileDependencies: [
|
||
|
'vuetify'
|
||
|
],
|
||
|
configureWebpack: {
|
||
|
output: {
|
||
|
filename: '[name].[hash].js'
|
||
|
}
|
||
|
},
|
||
|
outputDir: '../sub/static',
|
||
|
devServer: {
|
||
|
host: '0.0.0.0',
|
||
|
port: 19520,
|
||
|
disableHostCheck: true,
|
||
|
proxy: {
|
||
|
'^/api': {
|
||
|
target: 'http://127.0.0.1:4001',
|
||
|
ws: true,
|
||
|
changeOrigin: true
|
||
|
},
|
||
|
'^/media': {
|
||
|
target: 'http://127.0.0.1:4001',
|
||
|
ws: true,
|
||
|
changeOrigin: true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|