aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/v1_json.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 930af907ea..d44583b816 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -19,9 +19,9 @@
"name": "MIT",
"url": "http://opensource.org/licenses/MIT"
},
- "version": "{{AppVer}}"
+ "version": "{{AppVer | JSEscape | Safe}}"
},
- "basePath": "{{AppSubUrl}}/api/v1",
+ "basePath": "{{AppSubUrl | JSEscape | Safe}}/api/v1",
"paths": {
"/admin/cron": {
"get": {