diff --git a/endpoints/api/suconfig.py b/endpoints/api/suconfig.py index cc5910ae6..c9c280b5d 100644 --- a/endpoints/api/suconfig.py +++ b/endpoints/api/suconfig.py @@ -58,7 +58,7 @@ class SuperUserRegistryStatus(ApiResource): @internal_only @show_if(features.SUPER_USERS) @hide_if(features.BILLING) # Make sure it is never allowed in prod. -class SuperUserGetConfig(ApiResource): +class SuperUserConfig(ApiResource): """ Resource for fetching and updating the current configuration, if any. """ schemas = { 'UpdateConfig': { @@ -143,7 +143,7 @@ class SuperUserConfigFile(ApiResource): @nickname('scUpdateConfigFile') def post(self, filename): """ Updates the configuration file with the given name. """ - if not filename in CONFIG_FILE_WHITELIST: + if not filename in SSL_FILENAMES: abort(404) if SuperUserPermission().can():