Mixed Content error when requesting to backend over railway internal

hosenur
HOBBY

5 months ago

I have a vite frontend application which when trying to make requests to a backend using the railway internal address, I am getting

Mixed Content: The page at 'https://admin.domain.org/auth?redirect=%2F' was loaded over HTTPS, but requested an insecure resource 'http://domain-admin-backend.railway.internal/api/auth/sign-in/email'. This request has been blocked; the content must be served over HTTPS.

0 Replies

hosenur
HOBBY

5 months ago

N?A


hosenur
HOBBY

5 months ago

N/A


maddsua
HOBBY

5 months ago

To me it looks like you're trying to make a request to an internal domain from the client side. Is that correct?