zoomIn, zoomOut and centerHere, fixed the variable assignment to ensure the code functions correctly.

This commit is contained in:
2024-04-21 14:25:54 +02:00
parent a954f2a66f
commit 50863d3015
8 changed files with 65 additions and 41 deletions

View File

@@ -1,33 +1,13 @@
import "../styles/global.css"; // Pfad zur globalen CSS-Datei anpassen
import Script from "next/script";
import React from "react";
export default function MyApp({ Component, pageProps }) {
return (
<>
<Script
src="/js/OverlappingMarkerSpiderfier.js"
strategy="beforeInteractive"
/>
<Component {...pageProps} />
</>
);
}
// Bibliotheken, die in der _app.js-Datei importiert werden, werden auf jeder Seite geladen.
/* import Script from 'next/script';
// Pfad: pages/_app.js
import { RecoilRoot } from 'recoil';
import "../styles/global.css";
function MyApp({ Component, pageProps }) {
return (
<>
<Script
src="/js/OverlappingMarkerSpiderfier.js"
strategy="beforeInteractive"
/>
<RecoilRoot>
<Component {...pageProps} />
</>
</RecoilRoot>
);
}
export default MyApp; */
export default MyApp;

View File

@@ -2,11 +2,16 @@
import { createProxyMiddleware } from "http-proxy-middleware";
export default createProxyMiddleware({
target: "http://10.10.0.13", // Ziel-URL des Proxys
//target: "http://192.168.10.52:3000", // Ziel-URL des Proxys
//target: "http://10.10.0.13", // Ziel-URL des Proxys
target: "http://192.168.10.187:3000", // Ziel-URL des Proxys
changeOrigin: true,
pathRewrite: {
"^/api": "/", // Optional: Entfernt /api aus dem Pfad, wenn das Backend dies nicht erfordert
},
logLevel: "debug", // Setzt das Logging-Level auf "debug" für detaillierte Ausgaben
});
//Febunacci code javascript