ari.pickar
Railway not passing in env variables
Hi, I have a railway project https://railway.app/project/30296f5a-7960-4804-b75a-025dd4f6760d/service/6d14df1a-469e-4042-a8c4-f8e148de0519
I'm using the default Nix pack to build it, but it doesn't seem like the env variables that are defined in the variables tab are being passed into the program. Is there something that I need to do?
10 replies
All api calls in frontend return html saying "enable javascript"
ProjectId: 30296f5a-7960-4804-b75a-025dd4f6760d
Hi, I 'm working on a react project that I have deployed. Right now I have one railway deployment for the backend, and anther for the frontend. All of the calls to the backend seem to work, but calls to the frontend seem to be returning html that looks like:
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><script defer="defer" src="/static/js/main.22c2078d.js"></script><link href="/static/css/main.1ef3a49a.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>%
I've already checked that I have javascript enabled in the browser, so I'm wondering if there is a setting that needs to happen inside railway?15 replies