mirror of
https://git.sr.ht/~edwardloveall/scribe
synced 2025-12-10 12:41:23 +00:00
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:
@@ -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: "
|
||||
|
||||
Reference in New Issue
Block a user