Open dodedodo opened 2 years ago
Someone is attempting to deploy a commit to a Personal Account owned by @electerious on Vercel.
@electerious first needs to authorize it.
I've added an automatic redirect from /baseurl
to /baseurl/
. This fixes my initial caveat described above.
I also noticed I forgot to update the healthcheck.js url's.
Hello @electerious, have you had time to check my work? If there's anything I can do to get this pull accepted please let me know :+1: .
I also just saw the other pull request for a base URL option (#288). I honestly did not see that before. I'm not trying to step on anyone toes, and I'm sure either of these pulls will do the job just fine 🙂.
Hey @electerious,
I took a jab at implementing some sort of base URL support. Can you give this a test run and tell me what you think?
I wrote some documentation as well.
One downside of this implementation is that withACKEE_BASEURL=/ackee
the server listens onexample.com/ackee/
, but not atexample.com/ackee
. This is because the relative paths need the trailing/
(at least, I think so. Couldn't get it to work otherwise). It's not a breaking bug, and it's easily solved by configuring a http redirect from/ackee
to/ackee/
in your reverse proxy. Maybe we could include that redirect directly in server.js?The above is now fixed.