joshuabenuck / seran-wiki

Experiment to create a Deno based implementation of Federated Wiki
MIT License
11 stars 7 forks source link

use requestedSite when redirecting to external wiki client #8

Closed paul90 closed 4 years ago

paul90 commented 4 years ago

Use the requested site, rather than hardcoded localhost when redirecting to show deno sites with an externally hosted wiki client.

joshuabenuck commented 4 years ago

Merged! Also made a change so when redirecting, we go to welcome-visitors as that is the behavior used in the bundled denowiki client. (deno-sites only exists for the localhost site and is accessible from its welcome-visitors page anyway).

Good catch! Thanks for the PR!