Skip to content

Commit

Permalink
remove domain from asset links
Browse files Browse the repository at this point in the history
(cherry picked from commit 6f19cc6644cab1500f5a782bafc0dec880fdb5de)
  • Loading branch information
Ivan Koryukov committed Jun 25, 2021
1 parent b1abea3 commit 0a13ce2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/views/swagger.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<head>
<meta charset="UTF-8">
<title>{{ $title }}</title>
<link rel="stylesheet" type="text/css" href="{{ route('serve-swagger.asset', ['asset' => 'swagger-ui', 'ext' => 'css']) }}" >
<link rel="icon" type="image/png" href="{{ route('serve-swagger.asset', ['asset' => 'favicon-32x32', 'ext' => 'png']) }}" sizes="32x32" />
<link rel="icon" type="image/png" href="{{ route('serve-swagger.asset', ['asset' => 'favicon-16x16', 'ext' => 'png']) }}" sizes="16x16" />
<link rel="stylesheet" type="text/css" href="{{ route('serve-swagger.asset', ['asset' => 'swagger-ui', 'ext' => 'css'], false) }}" >
<link rel="icon" type="image/png" href="{{ route('serve-swagger.asset', ['asset' => 'favicon-32x32', 'ext' => 'png'], false) }}" sizes="32x32" />
<link rel="icon" type="image/png" href="{{ route('serve-swagger.asset', ['asset' => 'favicon-16x16', 'ext' => 'png'], false) }}" sizes="16x16" />
<style>
html
{
Expand All @@ -33,8 +33,8 @@
<body>
<div id="swagger-ui"></div>

<script src="{{ route('serve-swagger.asset', ['asset' => 'swagger-ui-bundle', 'ext' => 'js']) }}"> </script>
<script src="{{ route('serve-swagger.asset', ['asset' => 'swagger-ui-standalone-preset', 'ext' => 'js']) }}"> </script>
<script src="{{ route('serve-swagger.asset', ['asset' => 'swagger-ui-bundle', 'ext' => 'js'], false) }}"> </script>
<script src="{{ route('serve-swagger.asset', ['asset' => 'swagger-ui-standalone-preset', 'ext' => 'js'], false) }}"> </script>
<script>
window.onload = function() {
Expand Down

0 comments on commit 0a13ce2

Please sign in to comment.