Serve original PHP auth ping route

This commit is contained in:
SantaSpeen committed 2026-11-22 03:02:39 +03:00
1 parent f3dc89c011
commit ee7e18490f
3 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ if ($path === '/') {
return;
}
if (!preg_match('~\A/api(?:/index\.php)?(?:/v1/info/(?:versions|versionsbyname))?/?\z~i', $path ?? '')) {
if (!preg_match('~\A/api(?:/index\.php)?(?:/v1/(?:auth/ping|info/(?:versions|versionsbyname)))?/?\z~i', $path ?? '')) {
failRequest(404, 'Route is unavailable in the macOS preview');
return;
}