Hi, This may seem like a simple, question, but ca...
# self-hosting
g
Hi, This may seem like a simple, question, but can someone point me in the right direction: Livekit works fine locally, but in staging I receive console errors:
Firefox can't establish a connection to the server at wss://mysite.com:7880/rtc?...
and
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://mysite.com:7880/rtc/validate?access...
I believe it has something to do with the url I'm using in livekit_session.js:
Copy code
const liveKitServerUrl = isLocalhost
  ? 'http://localhost:7880'
  : 'http://mysite.com:7880'
Or possibly Ruby Rails Secure Headers gem I'm using AWS EC2. The server is running at http://mysite.com:7880 I am new to livekit and devOps Thank you