From ce54c71e166173dec2c9132043bcd8cfef142e84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Tue, 22 Aug 2023 12:23:49 +0200 Subject: [PATCH] Fix 404 pages --- app/console | 2 +- app/controllers/general.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/console b/app/console index b15025230a..ee76ee7e6b 160000 --- a/app/console +++ b/app/console @@ -1 +1 @@ -Subproject commit b15025230a0d64ad64aaba60ab090a16db474749 +Subproject commit ee76ee7e6b71f66caf26c6d71289e8ed33052a51 diff --git a/app/controllers/general.php b/app/controllers/general.php index 59821296d8..300bf54d3b 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -755,6 +755,7 @@ include_once __DIR__ . '/shared/api/auth.php'; App::wildcard() ->groups(['api']) + ->label('scope', 'public') ->action(function () { throw new AppwriteException(AppwriteException::GENERAL_ROUTE_NOT_FOUND); });