I've hosted wisemapping using docker image.
Let's say I login on the same machine first using localhost:port, I'm able to use the application as intended.
If I now open the application using IP address instead of localhost, the application doesn't load. All requests are sent to localhost instead.
Doing the thing the other way around, If I use IP address first, the application works as intended but changing it to localhost creates an error same as last one.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://192.168.0.12:9081/static/webapp/vendors.bundle.js. (Reason: CORS header \u2018Access-Control-Allow-Origin\u2019 missing). Status code: 200.
<script> source URI is not allowed in this document: \u201chttp://192.168.0.12:9081/static/webapp/vendors.bundle.js\u201d. login:59:105
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://192.168.0.12:9081/static/webapp/app.bundle.js. (Reason: CORS header \u2018Access-Control-Allow-Origin\u2019 missing). Status code: 200.
<script> source URI is not allowed in this document: \u201chttp://192.168.0.12:9081/static/webapp/app.bundle.js\u201d. login:60:101
Looks like a CORS configuration issue but I'm not sure.
Docker Image used: wisemapping/wisemapping:latest@sha256:7668a0980e741604368a21a1117715e5c9e86a1275fbf99e354c3a55c8445bbd
I've hosted wisemapping using docker image. Let's say I login on the same machine first using localhost:port, I'm able to use the application as intended. If I now open the application using IP address instead of localhost, the application doesn't load. All requests are sent to localhost instead.![image](https://github.com/user-attachments/assets/31e62893-4ae5-4df6-9abe-f979137b8d1c)
Doing the thing the other way around, If I use IP address first, the application works as intended but changing it to localhost creates an error same as last one.
Looks like a CORS configuration issue but I'm not sure. Docker Image used: wisemapping/wisemapping:latest@sha256:7668a0980e741604368a21a1117715e5c9e86a1275fbf99e354c3a55c8445bbd