chg: [api:index] Serve redoc script directly form the server

pull/93/head
Sami Mokaddem 2022-01-20 14:54:47 +01:00
parent d324eb497e
commit f8c775ba03
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
2 changed files with 4 additions and 1 deletions

View File

@ -1,2 +1,2 @@
<redoc spec-url='<?php echo $url ?>'></redoc>
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
<?= $this->Html->script('redoc.standalone.js') ?>

File diff suppressed because one or more lines are too long