docs verzeichnis und .env.local in Gitea speichern
This commit is contained in:
@@ -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 = `
|
||||
|
||||
Reference in New Issue
Block a user