caltechlibrary / mkpage

MkPage Project includes tools for rendering static websites including a Pandoc preprocessor
https://caltechlibrary.github.io/mkpage
Other
9 stars 1 forks source link

Redirects not working correctly #8

Closed rsdoiel closed 5 years ago

rsdoiel commented 5 years ago

The code around defining and detecting redirects is buggy in wsfn and mkpage's ws command. Not sure which side the error is. The first redirect works great, but the subsequent redirects keep redirect to itself which causes a rediret limit to be hit.

rsdoiel commented 5 years ago

I think this was working but not in my deployed code. Doubled checked code, made sure RedirectRouter() was inner call on the three different paths to the http service setup, removed DEBUG statements, push changes up in wsfn repo to make sure everything is in sync.