Fetch API failed in Docker, Setting CORS middleware doesn't work

Also they need to be on the same network. else 127.0.0.1 is on the machine not inside docker.
If they are on the same network, you can just say “containername:1337”

1 Like