proxy.conf.json angepasst dev funktioniert
This commit is contained in:
@@ -14,5 +14,17 @@
|
|||||||
"pathRewrite": {
|
"pathRewrite": {
|
||||||
"^/tasmota2": ""
|
"^/tasmota2": ""
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"/api": {
|
||||||
|
"target": "http://directus.neugasse.lan",
|
||||||
|
"secure": false,
|
||||||
|
"changeOrigin": true,
|
||||||
|
"pathRewrite": {
|
||||||
|
"^/api": ""
|
||||||
|
},
|
||||||
|
"headers": {
|
||||||
|
"Authorization": "Bearer KGjpxZ3tesmhEXHS7C7JbKDyW6YJlgQT"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user