docs verzeichnis und .env.local in Gitea speichern

This commit is contained in:
ISA
2025-05-15 10:47:10 +02:00
parent c2ffec7fd3
commit 7c67111ccd
23 changed files with 161 additions and 51 deletions

View File

@@ -1,3 +1,4 @@
// /pages/api/gis-proxy.js
export default async function handler(req, res) {
// CORS-Header setzen
res.setHeader("Access-Control-Allow-Credentials", true);
@@ -12,7 +13,8 @@ export default async function handler(req, res) {
}
// Ziel-URL direkt auf die Methode
const targetUrl = "http://10.10.0.70/talas5/ClientData/WebServiceMap.asmx";
const baseUrl = process.env.NEXT_PUBLIC_GIS_SERVER_URL;
const targetUrl = `${baseUrl}/talas5/ClientData/WebServiceMap.asmx`;
// SOAP-Envelope für die Methode "GisStationsStaticDistrict"
const soapEnvelope = `