From f0135f7dd8a400f66964463e50774b6158489e58 Mon Sep 17 00:00:00 2001 From: Hans-Christian Payer Date: Fri, 26 Jun 2026 09:09:53 +0200 Subject: [PATCH] proxy.conf.json angepasst dev funktioniert --- proxy.conf.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/proxy.conf.json b/proxy.conf.json index 9efe69e..c90dc09 100644 --- a/proxy.conf.json +++ b/proxy.conf.json @@ -14,5 +14,17 @@ "pathRewrite": { "^/tasmota2": "" } + }, + "/api": { + "target": "http://directus.neugasse.lan", + "secure": false, + "changeOrigin": true, + "pathRewrite": { + "^/api": "" + }, + "headers": { + "Authorization": "Bearer KGjpxZ3tesmhEXHS7C7JbKDyW6YJlgQT" + } } } +