Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redirect sessions w/o trailing slash #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

strazto
Copy link

@strazto strazto commented Apr 14, 2021

Resolves #5 - Please squash merge

@strazto strazto marked this pull request as ready for review April 14, 2021 08:10
@@ -243,6 +254,16 @@ func (s *server) handleFrontConnections() error {
http.Redirect(w, r, "https://tty-share.com", http.StatusMovedPermanently)
})

// Add logging middleware
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@matthewstrasiotto I know it's been ages since you submitted this, but only now had some time to review. Sorry for the delay, and thanks for the change.

I think this part with the logging should be left out of the trailing slash change, since it's not really related

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh lol, fair enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redirect sessions without trailing slash to session with trailing slash
2 participants