More task changes
All checks were successful
Build BAB Application Deployment Artifact / build (push) Successful in 2m3s

This commit is contained in:
2024-03-18 10:51:33 -04:00
parent 084aadccef
commit 435438aaa8
2 changed files with 26 additions and 17 deletions

View File

@@ -84,6 +84,15 @@ module.exports = configure(function (/* ctx */) {
// open: true, // opens browser window automatically
port: 4000,
strictport: true,
// This works around CORS problems when developing locally, using the Appwrite backend
proxy: {
'/api': {
target: 'https://apidev.bab.toal.ca/',
changeOrigin: true,
secure: false,
rewrite: (path) => path.replace(/^\/api/, ''),
},
},
// For reverse-proxying via haproxy
// hmr: {
// clientPort: 443,