From bcb359e31752311fd78345f2748fe823d743a322 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sat, 22 Sep 2018 13:28:49 +0200 Subject: [PATCH] Fixed custom JS/CSS was not included on API doc page --- views/openapiui.blade.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/views/openapiui.blade.php b/views/openapiui.blade.php index 87d30412..3a52f910 100644 --- a/views/openapiui.blade.php +++ b/views/openapiui.blade.php @@ -15,6 +15,10 @@ + @if(file_exists(GROCY_DATAPATH . '/custom_css.html')) + @php include GROCY_DATAPATH . '/custom_css.html' @endphp + @endif + - @if(file_exists(GROCY_DATAPATH . '/add_before_end_body.html')) - @php include GROCY_DATAPATH . '/add_before_end_body.html' @endphp + @if(file_exists(GROCY_DATAPATH . '/custom_js.html')) + @php include GROCY_DATAPATH . '/custom_js.html' @endphp @endif