mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
fix: hideServer & hideClient
This commit is contained in:
1 parent
6cc1235e86
commit
42e9865dff
5 files changed
+10
-6
No files matched your search
@@ -190,8 +190,12 @@ class Specs extends Action
|
||||
}
|
||||
|
||||
if (empty($routeSecurity)) {
|
||||
$sdkPlaforms[] = APP_PLATFORM_CLIENT;
|
||||
$sdkPlaforms[] = APP_PLATFORM_SERVER;
|
||||
if (!$route->getLabel('sdk.hideServer', false)) {
|
||||
$sdkPlatforms[] = APP_PLATFORM_SERVER;
|
||||
}
|
||||
if (!$route->getLabel('sdk.hideClient', false)) {
|
||||
$sdkPlatforms[] = APP_PLATFORM_CLIENT;
|
||||
}
|
||||
}
|
||||
|
||||
if (!$route->getLabel('docs', true)) {
|
||||
|
||||
Reference in new issue
Block a user