Use app_domain in Redirector example

In the current redirector example, "scribe.rip" is hardcoded as the
destination. This patch simply changes that to use the app_domain
environment variable, so people wanting to use a community instance
aren't mistakenly redirected to the main scribe.rip instance.
This commit is contained in:
Amolith 2021-10-14 06:46:39 -04:00 committed by Edward Loveall
parent 0d9170b8d6
commit 9fcf37f416
No known key found for this signature in database
GPG Key ID: A7606DFEC2BA731F
1 changed files with 3 additions and 1 deletions

View File

@ -57,7 +57,9 @@ class Home::IndexPage < MainLayout
end
li do
strong "Redirect to: "
code "https://scribe.rip/$1"
code "https://"
code app_domain
code "/$1"
end
li do
strong "Pattern type: "