yolobrolo
yolobrolo
RRailway
Created by yolobrolo on 8/2/2023 in #✋|help
POST Request appears as GET request to Flask app
Hello, I am working on moving a python flask app across from render.com where it runs fine, but when deployed on railway there is an issue. From testing it seems as though separate functions related to the type of request at the same route are all being treated as GET requests. As an example: a POST at myurl/users and a GET at myurl/users are both being recieved as a GET at myurl/users. The same is true for a DELETE request. Does anyone know what could be causing this? thanks
12 replies
RRailway
Created by yolobrolo on 9/22/2022 in #✋|help
No Logs on Build Failure
Pushed to prod on github, however auto build and deploy was not triggered. Triggered a redeploy manually by changing an environmental variable, however the build failed with no logs. ID - 7bf323ec-abda-4aaa-834b-3521cc4043f9
4 replies
RRailway
Created by yolobrolo on 9/12/2022 in #✋|help
404 on refresh with Vue Router
Hi, I've recently joined railway and love the ease of getting my project live! I have one small issue. My application is a Vue2 SPA using vue-router in history mode. The project builds and deploys fine. Whenever I refresh a page that isn't the home page i get a 404 error as nginx is not redirecting back to index. I need to change the nginx.conf files to something like this - https://stackoverflow.com/questions/52471007/how-to-handle-404-error-request-in-vuejs-spa-with-nginx-server Is it possible to supply/edit the nginx.conf file pre build? ID 7bf323ec-abda-4aaa-834b-3521cc4043f9
10 replies