dzcode-io / dzcode.io

Website & mobile app for Algerian open-source community
https://dzcode.io
MIT License
114 stars 41 forks source link

BUG: loading of articles and docs fails when page URL ends with `/` #476

Closed ZibanPirate closed 1 year ago

ZibanPirate commented 1 year ago

Describe the bug as per the title, this was reported in Sentry

To Reproduce Steps to reproduce the behavior:

  1. Go to https://www.dzcode.io/Articles/A_Python_Website_No_Framework_Needed/
  2. It shows error
  3. Go to https://www.dzcode.io/Articles/A_Python_Website_No_Framework_Needed
  4. It loads fine

Expected behavior https://www.dzcode.io/Articles/A_Python_Website_No_Framework_Needed/ should load fine.

Additional context