From 34cae57f4e6327a115ed57e7c92a8ae88cc490e5 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Thu, 21 Jul 2022 19:18:53 -0400 Subject: [PATCH] fix refs for default templates (#944) --- pygeoapi/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygeoapi/api.py b/pygeoapi/api.py index d5cc391..b761f7d 100644 --- a/pygeoapi/api.py +++ b/pygeoapi/api.py @@ -602,7 +602,7 @@ class API: self.default_locale = self.locales[0] if 'templates' not in self.config['server']: - self.config['server']['templates'] = TEMPLATES + self.config['server']['templates'] = {'path': TEMPLATES} if 'pretty_print' not in self.config['server']: self.config['server']['pretty_print'] = False