Prepare for embedded mode

This commit is contained in:
Bernd Bestel
2018-07-16 21:17:32 +02:00
parent db9ee93d2b
commit 3b4141eb4d
11 changed files with 36 additions and 15 deletions

View File

@@ -30,8 +30,8 @@
<script src="{{ $U('/node_modules/swagger-ui-dist/swagger-ui-standalone-preset.js?v=', true) }}{{ $version }}"></script>
<script src="{{ $U('/viewjs', true) }}/openapiui.js?v={{ $version }}"></script>
@if(file_exists(__DIR__ . '/../../data/add_before_end_body.html'))
@php include __DIR__ . '/../../data/add_before_end_body.html' @endphp
@if(file_exists(DATAPATH . '/add_before_end_body.html'))
@php include DATAPATH . '/add_before_end_body.html' @endphp
@endif
</body>
</html>