21 Replies
2 years ago
going to need more information here, can't connect is a bit too vague unfortunately
I created a test API in dotnet 6, with the default endpoint and added cors for any origin, and I want to access the endpoint that is there when we create the API,
I tried with the domain:3000/GetWeatherForecast that was created, I tried to put the port in the variables and it doesn't work
2 years ago
the correct URL format would be https://domain.com/GetWeatherForecast
2 years ago
yeah substitute domain.com with the railway generated domain
2 years ago
going to need more information here, doesn't work is a bit too vague unfortunately
2 years ago
that is a 404 page your own application is returning
2 years ago
are you sure you've pointed the domain to the correct port?
2 years ago
the you would need to debug why your application is returning 404
I don't even know how to debug it, if it's literally a standard dotnet api project with cors without any restrictions
2 years ago
i didnt do anything lol





