mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-14 12:10:18 +03:00
Merge branch 'master' of github.com:WDaan/VueTorrent
This commit is contained in:
commit
0651250852
1 changed files with 11 additions and 0 deletions
|
@ -4,6 +4,16 @@ const qBittorrentPort = process.env['QBITTORRENT_PORT'] ?? 8080
|
|||
const vueTorrentPort = process.env['VUETORRENT_PORT'] ?? 8000
|
||||
|
||||
module.exports = {
|
||||
pwa: {
|
||||
name: 'VueTorrent', //PWApp name
|
||||
themeColor: '#597566', //PWA title bar color ( windows 10 PWA, android web browser and PWA address bar color )
|
||||
manifestOptions: {
|
||||
background_color: '#eeeeee' //background color for android PWA splash page
|
||||
},
|
||||
workboxOptions: {
|
||||
skipWaiting: true
|
||||
}
|
||||
},
|
||||
chainWebpack: config => {
|
||||
config
|
||||
.plugin('html')
|
||||
|
@ -32,6 +42,7 @@ module.exports = {
|
|||
},
|
||||
host: '0.0.0.0',
|
||||
port: `${vueTorrentPort}`,
|
||||
disableHostCheck: true, //allows https proxy for dev server
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: `http://localhost:${qBittorrentPort}`
|
||||
|
|
Loading…
Add table
Reference in a new issue