Skip to content
Snippets Groups Projects

Fixing URL used for search

Merged Martyn Welch requested to merge wip/martyn/T6786-3 into master
  1. Mar 26, 2020
    • Martyn Welch's avatar
      Fixing URL used for search · bf10f8b0
      Martyn Welch authored
      
      The current search is using the URL "<site>/search", which is getting
      redirected to the true location "<site>/search/". When running through
      Hugo, the server it runs on localhost is maintaining the GET request
      across the redirect, the hosting isn't.
      
      The easiest (and arguably best) way or dealing with this is to correct the
      URL so that no redirect is needed.
      
      Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.com>
      bf10f8b0
Loading