mirror of
https://github.com/Findus23/devicedetector.net.git
synced 2024-09-19 15:43:46 +02:00
21 lines
574 B
JavaScript
21 lines
574 B
JavaScript
|
module.exports = {
|
||
|
outputDir: "../public/dist",
|
||
|
indexPath: "../",
|
||
|
devServer: {
|
||
|
proxy: {
|
||
|
'^/detect/': {
|
||
|
target: 'http://local.devicedetector.net/detect/',
|
||
|
changeOrigin: true
|
||
|
},
|
||
|
'^/supported/': {
|
||
|
target: 'http://local.devicedetector.net/supported/',
|
||
|
changeOrigin: true
|
||
|
},
|
||
|
'^/version.json': {
|
||
|
target: 'http://local.devicedetector.net/version.json',
|
||
|
changeOrigin: true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
};
|