Zedas
Zedas
RRailway
Created by Zedas on 10/25/2024 in #✋|help
Question About Godaddy domain
I have a domain on Godaddy setup with a cname record pointing to my railway.app dns target. It works! But that is contrary to this help link: https://help.railway.app/questions/dns-update-issue-f5489bf5 that suggests you need to use Cloudflare's nameservers if you have a domain with Godaddy. The domain name is https://chandigarh.band/. I need to know why this is working and if it is intended to work for future projects. Thank you
6 replies
RRailway
Created by Zedas on 4/13/2023 in #✋|help
React Express app in production thinks that it is in development?
Hi there, I am using process.env.NODE_ENV to determine the relative environment of my app between dev and prod. Yet for some reason, my app in production keeps tells me on a console.log() that it is in development thereby using the development url(localhost) while in production. I have added "production" as an environment variable in the railway env variables as well as added "node_env=production" to my build script. Though I believe that "npm run build" already sets "production" on default. It's fairly basic app currently and I thought I'd post here before I attempt StackOverflow 😆 If you have any leads I would greatly appreciate it 🙏
22 replies