summaryrefslogtreecommitdiff
path: root/templates/api_documentation.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-12-17 20:46:17 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-12-19 19:20:06 +0100
commit69f961a23cb8a2196d5315105eb4a72764625351 (patch)
tree905400f830299c100ce5b76614a6a825ba55914e /templates/api_documentation.html.ep
parentf895d34f31fbae76d110bce08a5bc52e365b44ba (diff)
disable import and checkin API endpoints in production mode
Diffstat (limited to 'templates/api_documentation.html.ep')
-rw-r--r--templates/api_documentation.html.ep4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/api_documentation.html.ep b/templates/api_documentation.html.ep
index cf3a57a..2e3e66d 100644
--- a/templates/api_documentation.html.ep
+++ b/templates/api_documentation.html.ep
@@ -65,6 +65,8 @@
</div>
</div>
+% if (app->mode eq 'development') {
+
<h2>Travel</h2>
<div class="row">
<div class="col s12">
@@ -188,3 +190,5 @@
</p>
</div>
</div>
+
+% }