Serve original PHP auth ping route
This commit is contained in:
1 parent
f3dc89c011
commit
ee7e18490f
3 files changed
+5
-4
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user