Skip to content
Snippets Groups Projects
  • Martyn Welch's avatar
    bf10f8b0
    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
    History
    Fixing URL used for search
    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>