fix: dev targets

This commit is contained in:
2024-06-19 23:02:01 -04:00
parent bbb544c029
commit b7a3608e67
2 changed files with 11 additions and 7 deletions

View File

@@ -108,12 +108,12 @@ module.exports = configure(function ({ dev }) {
secure: false,
rewrite: (path) => path.replace(/^\/api/, ''),
},
'/function': {
target: 'https://6640382951eacb568371.f.appwrite.toal.ca/',
changeOrigin: true,
secure: false,
rewrite: (path) => path.replace(/^\/function/, ''),
},
// '/function': {
// target: 'https://6640382951eacb568371.f.appwrite.toal.ca/',
// changeOrigin: true,
// secure: false,
// rewrite: (path) => path.replace(/^\/function/, ''),
// },
},
// For reverse-proxying via haproxy
// hmr: {