You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixing BasePath for loading static assets and routing when a URL doesn't have a forward slash suffix (#713)
* Remove suffix trimming on BasePath
* Remove forward-slash prefix for static images in html templates
* Allow for routing on base URLs missing a forward-slash suffix
* Move rootURL routing functionality to new method, modify its if statement, trim suffix for router's PathPrefix, move opts to a class-wide variable, add a new Handler for rootURLs without the forward slash
* Reverted previous commit aside from trimming the suffix of the BasePath in the router builder, added StrictSlash(true) to the router builder
* Reformatted router.go
0 commit comments