Skip to content

Commit 36feb06

Browse files
webb-bentomkralidis
andcommitted
Safely serialize configuration JSON
Co-Authored-By: Tom Kralidis <tomkralidis@gmail.com>
1 parent 2abb943 commit 36feb06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygeoapi/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def get_config(raw: bool = False) -> dict:
5959
else:
6060
CONFIG = yaml_load(fh)
6161

62-
return CONFIG
62+
return json.loads(to_json(CONFIG))
6363

6464

6565
def load_schema() -> dict:

0 commit comments

Comments
 (0)