pawtang
pawtang
RRailway
Created by pawtang on 5/24/2023 in #✋|help
PERN Application with React Router -- WebSocket connection to 'xxx' failed:
I read a previous thread where it was suggested to use serve when running the client in production mode, but this solution does not work with React Router in my understanding. Could it be as simple as changing my client start script? This is my first time hosting an application. "scripts": { "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" },
37 replies
RRailway
Created by pawtang on 5/22/2023 in #✋|help
503/Cors error deploying PERN App for first time
I'm having both a CORS error and 503 in my sign-in request from client to server, both hosted on Railway, when I test my app that I just deployed. I am using the CORS extension in Express and have added both the default domain and my custom domain for the client. I have my client pointing at my server using an environment variable. I can't figure out what's causing the issue. Project ID: 3bf7a56e-38fc-403a-92fa-0dcccfe80e97
6 replies