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" + } } } +