mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
chore(console): describe when the /console web redirects are registered
The vibes console has no /invite, /login, /recover or /register routes, so the registration comment no longer claims root-scheme consoles serve those paths.
This commit is contained in:
1 parent
891ba49e09
commit
d16e8868af
1 file changed
+1
-1
@@ -40,7 +40,7 @@ class Http extends Service
|
||||
$this->addAction(CreateAssistantQuery::getName(), new CreateAssistantQuery());
|
||||
$this->addAction(GetResourceAvailability::getName(), new GetResourceAvailability());
|
||||
|
||||
// web redirects to /console; root-scheme consoles serve these paths themselves
|
||||
// web redirects to /console, only where the console is served under /console
|
||||
if (System::getEnv('_APP_CONSOLE_URL_SCHEME', 'legacy') !== 'root') {
|
||||
$this->addAction(RedirectRoot::getName(), new RedirectRoot());
|
||||
$this->addAction(RedirectAuth::getName(), new RedirectAuth());
|
||||
|
||||
Reference in new issue
Block a user