Skip to content

Commit

Permalink
Merge branch 'master' of github.com:WDaan/VueTorrent
Browse files Browse the repository at this point in the history
  • Loading branch information
WDaan committed Apr 3, 2021
2 parents ee91fe3 + dfbed5c commit 0651250
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions vue.config.js
Expand Up @@ -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')
Expand Down Expand Up @@ -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}`
Expand Down

0 comments on commit 0651250

Please sign in to comment.