mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
3b718ffb16
The audio implementation is based on https://github.com/rainner/soma-fm-player and makes use of the HTML5 Web Audio Context API.
38 lines
857 B
JavaScript
38 lines
857 B
JavaScript
module.exports = {
|
|
// Runtime compiler is required to compile vue templates
|
|
runtimeCompiler: true,
|
|
|
|
// Output path for the generated static assets (js/css)
|
|
outputDir: '../htdocs',
|
|
|
|
// Output path for the generated index.html
|
|
indexPath: 'index.html',
|
|
|
|
assetsDir: 'player',
|
|
|
|
// Do not add hashes to the generated js/css filenames, would otherwise
|
|
// require to adjust the Makefile in htdocs each time the web interface is
|
|
// build
|
|
filenameHashing: false,
|
|
|
|
css: {
|
|
sourceMap: true
|
|
},
|
|
|
|
devServer: {
|
|
// Proxy forked-daapd JSON API calls to the forked-daapd server running on
|
|
// localhost:3689
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:3689'
|
|
},
|
|
'/artwork': {
|
|
target: 'http://localhost:3689'
|
|
},
|
|
'/stream.mp3': {
|
|
target: 'http://localhost:3689'
|
|
}
|
|
}
|
|
}
|
|
}
|