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
But it doesn't work since Boltd's / handler redirects to /page - not to /instrospect/page.
To be honest I don't know why you've done it like that rather than just having the contents of the page handler in the index handler. Anyway, a hacky hacky "fix" is to do this instead:
http.Handle("/page", boltd.NewHandler(db))
And then go to /page instead of /introspect.
The text was updated successfully, but these errors were encountered:
The docs say you can do this:
But it doesn't work since Boltd's
/
handler redirects to/page
- not to/instrospect/page
.To be honest I don't know why you've done it like that rather than just having the contents of the page handler in the index handler. Anyway, a hacky hacky "fix" is to do this instead:
And then go to /page instead of /introspect.
The text was updated successfully, but these errors were encountered: