machinetranslate / machinetranslate.org

Open information and community for machine translation
https://machinetranslate.org
Creative Commons Attribution Share Alike 4.0 International
71 stars 56 forks source link

Remove trailing backslash from URLs #578

Closed tovmasharrison closed 10 months ago

tovmasharrison commented 10 months ago

Description

I removed unnecessary backslashes from URLs by creating a new index directory for those pages and updating _config.yml accordingly.

Fixes #577

Checklist:

cefoo commented 10 months ago

Thanks for the PR, @tovmasharrison!

I've checked this PR locally and there are URLs still showing a slash at the end:

Whenever I click on them, I get this message in the command line:

[2023-11-16 11:50:44] ERROR Errno::ECONNRESET: Connection reset by peer @ io_fillbuf - fd:18
    /Users/cefoo/Documents/GitHub/machinetranslate.org/vendor/bundle/ruby/3.2.0/gems/webrick-1.8.1/lib/webrick/httpserver.rb:82:in `eof?'
    /Users/cefoo/Documents/GitHub/machinetranslate.org/vendor/bundle/ruby/3.2.0/gems/webrick-1.8.1/lib/webrick/httpserver.rb:82:in `run'
    /Users/cefoo/Documents/GitHub/machinetranslate.org/vendor/bundle/ruby/3.2.0/gems/webrick-1.8.1/lib/webrick/server.rb:310:in `block in start_thread'