I am looking to create two different routes:
- /midterm/cs611
- /finalterm/cs611
My goal is to display distinct content when accessing the /midterm/cs611 endpoint, and different content when accessing the /finalterm/cs611 endpoint. However, I am running into an issue where hitting /finalterm/cs611 displays correctly, but hitting /midterm/cs611 results in a 404 page.
If I change 'midterm' to 'finalterm', I get a 404 for finalterm and correct results for midterm.
Here's my code:
https://i.sstatic.net/t0aor.png
Result when hitting /midterm/cs611: https://i.sstatic.net/zgD2I.png
Result when hitting /finalterm/cs611: https://i.sstatic.net/Oez6m.png