Running on Google Chrome but i tested on opera GX as well and got the same error.
Server Settings
I don't know if it helps, but i'm using these settings for build.
Nothing more was changed.
Locally everything runs as it's supposed to but when i build and deploy the game files to my http server (firebase hosting) this happens.
(sorry my bad english)