proxy.conf.json angepasst dev funktioniert

This commit is contained in:
2026-06-26 09:09:53 +02:00
parent 47f3e5db5c
commit f0135f7dd8
+12
View File
@@ -14,5 +14,17 @@
"pathRewrite": { "pathRewrite": {
"^/tasmota2": "" "^/tasmota2": ""
} }
},
"/api": {
"target": "http://directus.neugasse.lan",
"secure": false,
"changeOrigin": true,
"pathRewrite": {
"^/api": ""
},
"headers": {
"Authorization": "Bearer KGjpxZ3tesmhEXHS7C7JbKDyW6YJlgQT"
}
} }
} }