НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ
НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ
Explore posts from servers
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/20/2023 in #✋|help
Environment variable to reference other environment variables
And it works, thanks again)
18 replies
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/20/2023 in #✋|help
Environment variable to reference other environment variables
Understood, thanks)
18 replies
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/20/2023 in #✋|help
Environment variable to reference other environment variables
Do`h I thought it was shared by default, I guess i added it myself
18 replies
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/20/2023 in #✋|help
Environment variable to reference other environment variables
Just set the PORT to some value then?
18 replies
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/20/2023 in #✋|help
Environment variable to reference other environment variables
18 replies
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/20/2023 in #✋|help
Environment variable to reference other environment variables
Uh-huh, so double brackets should do the trick, i'll try it out, thanks!
18 replies
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/20/2023 in #✋|help
Environment variable to reference other environment variables
d9584449-f807-4d25-b807-f765ae62e699
18 replies
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/10/2023 in #✋|help
405 After deploying aspnet project
Yet i still don't get it about receiving 200 on authorization requiring method. What could be the cause of that?
13 replies
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/10/2023 in #✋|help
405 After deploying aspnet project
Oh wow, thanks! That's really it
13 replies
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/10/2023 in #✋|help
405 After deploying aspnet project
My though was that railway somehow got an older version of my code, but i implemented authorization in one commit. So there's either version with POST /auth/sign-in or without, and there are no other endpoints with the same route but different method.
13 replies
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/10/2023 in #✋|help
405 After deploying aspnet project
By "alright" i mean that i receive 401 if jwt is broken or "Authorization" header is missing.
13 replies
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/10/2023 in #✋|help
405 After deploying aspnet project
And that's not an issue with code, because locally (running in docker container or running on the machine) it works alright!
13 replies
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/10/2023 in #✋|help
405 After deploying aspnet project
Wow, this is too obscure. A PATCH /game/{id} endpoint, which requires authorization somehow always returns 200 OK, even if i remove "Authorization" header in Postman.
13 replies
RRailway
Created by НЄЛЬЗЯ СОТВОРІТЬ ЗДЄСЬ on 6/10/2023 in #✋|help
405 After deploying aspnet project
d9584449-f807-4d25-b807-f765ae62e699
13 replies