text: Title: [BUG] Dashboard link on 404 page not working
  Body: ### Description
  
  The link back to the dashboard on the 404 page does not work. This happens since version 2.14.0, 2.13.5 was still fine.
  
  ### Steps to reproduce
  
  1. Go to the 404 page /404
  2. Click on the link that is supossed to take you back to the dashboard
  3. Nothing happens
  
  ### Webserver logs
  
  ```bash
  No related logs.
  ```
  
  ### Browser logs
  
  ```bash
  
  ```
  
  ### Paperless-ngx version
  
  2.14.4
  
  ### Host OS
  
  various
  
  ### Installation method
  
  Docker - official image
  
  ### System status
  
  ```json
  
  ```
  
  ### Browser
  
  Firefox / Google Chrome
  
  ### Configuration changes
  
  _No response_
  
  ### Please confirm the following
  
  - [x] I believe this issue is a bug that affects all users of Paperless-ngx, not something specific to my installation.
  - [x] This issue is not about the OCR or archive creation of a specific file(s). Otherwise, please see above regarding OCR tools.
  - [x] I have already searched for relevant existing issues and discussions before opening this report.
  - [x] I have updated the title field above with a concise description.