Files
nodeMap/10.10.0.13 config.txt

35 lines
773 B
Plaintext

Port 3000 Freigabe ?
node -v v20.12.1
----------------------
Start-Dev.ps1
cd 'C:\inetpub\wwwroot\talas5\nodeMap'
npm run dev
-------------
.env.local
DB_HOST=localhost
--------------
in /config/config.js
10 und 484 entfernen
-------------------
MapComponent.js
URL von onlineTileLayer und offlineTileLayer URL eingeben und Port 3000
"http://localhost:3000/mapTiles/{z}/{x}/{y}.png";
baseurl
const baseUrl = "http://localhost/talas5/devices/";
serverURL
const serverURL = "http://localhost";
------------------
In C:\inetpub\wwwroot\talas5\MessagesMap\MapTypC.aspx
"http://localhost:3000?m=" + encodeURIComponent(mValue) + "&u=" + encodeURIComponent(uValue);
--------------------
In pages/api/[...path].js
target: "http://localhost",