Cross-Origin Request Blocked on Phoscon Web app

Hi,

today i tried to access the phoscon web app via Laptop, but the login prompt did not show up. I opened the developer console and saw a lot of these errors in the console:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://192.168.1.16:8080/api/config?_=1722671484526. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 404.

below my docker-composel.yml


version: "3"
services:
  deconz:
    image: deconzcommunity/deconz:latest
    container_name: deconz
    restart: always
    privileged: true
    ports:
      - 60080:60080
      - 60081:60081
      - 60082:5900
    volumes:
      - data:/opt/deCONZ
    devices:
        - /dev/ttyUSB0
    environment:
      - TZ=Europe/Berlin
      - DECONZ_WEB_PORT=60080
      - DECONZ_WS_PORT=443
      - DECONZ_DEVICE=/dev/ttyUSB0
      - DECONZ_START_VERBOSE=0
      - DECONZ_BAUDRATE=115200
      - DECONZ_WS_PORT=60081
      - DECONZ_VNC_MODE=1
      - DECONZ_VNC_PORT=5900
      - DECONZ_VNC_PASSWORD=Deconz1!

volumes:
  data:

As you can see, i am forwarding all relevant ports to a high port number. I have also changed the default web-port to 60080. I observed in the dev console, that apparently the web app tries to access the IP on the port 8080. This of course returns a HTTP-code of 404, because port 8080 is not forwarded into the container.
Is this intended behavior? Can i somehow configure this port to be different? Could this be some remaining hard coded port, that wasn’t made configurable?

BR,
Michael;

You have specified DECONZ_WS_PORT twice

You’re right! Damn, didn’t see that. Meanwhile i figured out, that it’s also possible to access the frontpage via the pwa/login2.html path. I’m wondering, what that is.

I’ve updated the changes in my docker-compose.yml, but still i can’t login with the “standard-login-path” aka http://192.168.1.60:60080/pwa/login.html.

I’ve seen that mentioned somewhere being a bug, if you search for login2 on the forums or on discord you would probably find manups explanation