Skip to content

Commit

Permalink
Merge pull request #1 from MadridianFox/fix-https
Browse files Browse the repository at this point in the history
remove domain from asset links
  • Loading branch information
arrilot authored Jun 25, 2021
2 parents b1abea3 + 0a13ce2 commit f69e311
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 f69e311

Please sign in to comment.