mirror of
https://github.com/pinry/pinry.git
synced 2025-11-16 18:05:51 +01:00
35 lines
841 B
JavaScript
35 lines
841 B
JavaScript
module.exports = {
|
|
devServer: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:8000/',
|
|
changeOrigin: true,
|
|
ws: true,
|
|
},
|
|
'/static/media': {
|
|
target: 'http://localhost:8000/',
|
|
changeOrigin: true,
|
|
},
|
|
'/static/js/': {
|
|
target: 'http://localhost:8000/',
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
pwa: {
|
|
name: 'Pinry Mobile',
|
|
appleMobileWebAppCapable: 'yes',
|
|
appleMobileWebAppStatusBarStyle: 'black',
|
|
// configure the workbox plugin
|
|
workboxPluginMode: 'GenerateSW',
|
|
iconPaths: {
|
|
favicon32: 'favicon.png',
|
|
favicon16: 'favicon.png',
|
|
appleTouchIcon: 'favicon.png',
|
|
// FIXME(winkidney): Add svg file for safari
|
|
// maskIcon: 'img/icons/safari-pinned-tab.svg',
|
|
msTileImage: 'favicon.png',
|
|
},
|
|
},
|
|
};
|