НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ
НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ
Explore posts from servers
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/20/2023 in #✋|help
Environment variable to reference other environment variables
Hello, in railway, are environment variables able to reference other variables? I.e. for ASP.NET to set ports i would use ASPNETCORE_URLS variable with value
"http://+:80"
"http://+:80"
, so should i be able to reference PORT variable in it's value? I mean something like
"http://+:${PORT}"
"http://+:${PORT}"
. Thanks.
18 replies
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/10/2023 in #✋|help
405 After deploying aspnet project
I have an aspnetcore-based web-api. Locally it works fine, even if i build and run it with docker. But on railway, when i try to access the api through generated domain, i receive 405 on existing endpoints and 404 on non-existing ones. An example of such endpoint would be POST example.com/auth/sign-in , to wich i pass json body with user creds
13 replies