dlang-tour / core

D Language online tour (https://tour.dlang.org/) and online editor (https://run.dlang.io/)
Boost Software License 1.0
115 stars 48 forks source link

Adding a slash at the end of routes, redirects to the wrong address #768

Open ljmf00 opened 2 years ago

ljmf00 commented 2 years ago

https://run.dlang.io/gist/d688bbcfb74c5f9106bf4c1a4f7d19a4 is just fine but https://run.dlang.io/gist/d688bbcfb74c5f9106bf4c1a4f7d19a4/ redirects to the 8080 port. This seems to be the internal port for the D application.

Also, consider not exposing this port. Passing it to the reverse proxy is desirable to apply proxy rate limits.