fix: enable cookies in swagger

This commit is contained in:
b1ek 2024-08-29 20:37:56 +10:00
parent ab7b5c0a97
commit 8dd1044d8b
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@
<script> <script>
const ui = SwaggerUIBundle({ const ui = SwaggerUIBundle({
url: '/openapi.yml', url: '/openapi.yml',
dom_id: '#swagger-ui' dom_id: '#swagger-ui',
enableCookies: true,
}); });
</script> </script>
</body> </body>