File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 116116CORS_ALLOWED_ORIGINS = [
117117 "http://webserver.mosquitoalert.com" ,
118118 "http://www.mosquitoalert.com" ,
119+ "https://app.mosquitoalert.com" ,
119120]
120121
121122ROOT_URLCONF = 'tigaserver_project.urls'
290291 "ErrorCode429Enum" : "drf_standardized_errors.openapi_serializers.ErrorCode429Enum.choices" ,
291292 "ErrorCode500Enum" : "drf_standardized_errors.openapi_serializers.ErrorCode500Enum.choices" ,
292293 },
293- 'POSTPROCESSING_HOOKS' : [], # NOTE: needed for the openapi-generator
294+ # 'POSTPROCESSING_HOOKS': [], # NOTE: needed for the openapi-generator
295+ "POSTPROCESSING_HOOKS" : ["drf_standardized_errors.openapi_hooks.postprocess_schema_enums" ],
294296 'ENUM_ADD_EXPLICIT_BLANK_NULL_CHOICE' : False , # See: https://github.com/tfranzel/drf-spectacular/issues/235
295297 'ENUM_GENERATE_CHOICE_DESCRIPTION' : False ,
296298 'EXTENSIONS_INFO' : {
You can’t perform that action at this time.
0 commit comments