You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 rivejä
834 B

  1. module.exports = {
  2. devServer: {
  3. proxy: {
  4. '/api': {
  5. target: 'http://127.0.0.1:8000/',
  6. changeOrigin: true,
  7. ws: true,
  8. },
  9. '/media': {
  10. target: 'http://127.0.0.1:8000/',
  11. changeOrigin: true,
  12. },
  13. '/static/js/': {
  14. target: 'http://127.0.0.1:8000/',
  15. changeOrigin: true,
  16. },
  17. },
  18. },
  19. pwa: {
  20. name: 'Pinry Mobile',
  21. appleMobileWebAppCapable: 'yes',
  22. appleMobileWebAppStatusBarStyle: 'black',
  23. // configure the workbox plugin
  24. workboxPluginMode: 'GenerateSW',
  25. iconPaths: {
  26. favicon32: 'favicon.png',
  27. favicon16: 'favicon.png',
  28. appleTouchIcon: 'favicon.png',
  29. // FIXME(winkidney): Add svg file for safari
  30. // maskIcon: 'img/icons/safari-pinned-tab.svg',
  31. msTileImage: 'favicon.png',
  32. },
  33. },
  34. };