Skip to content

Commit

Permalink
iris protection if website domain not found not set
Browse files Browse the repository at this point in the history
  • Loading branch information
inikoo committed Jan 23, 2025
1 parent 5232e8f commit 39a0257
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions resources/views/app-iris.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,19 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title inertia></title>

<!-- Fonts -->
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=fira-sans:100,200,300,400,500,600,700,800,900&display=swap" rel="stylesheet" />
<link href="https://fonts.bunny.net/css?family=inter:100,200,300,400,500,600,700,800,900&display=swap" rel="stylesheet" />

<!-- Favicon -->
<link rel="icon" type="image/png" sizes="16x16" href="{{ request()->get('website')->imageSources(16, 16)['original'] ?? url('favicons/iris-favicon-16x16.png') }}">
@if(request()->get('website'))
<link rel="icon" type="image/png" sizes="16x16" href="{{ request()->get('website')->imageSources(16, 16)['original'] ?? url('favicons/iris-favicon-16x16.png') }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ request()->get('website')->imageSources(32, 32)['original'] ?? url('favicons/iris-favicon-32x32.png') }}">
<link rel="icon" type="image/png" sizes="48x48" href="{{ request()->get('website')->imageSources(48, 48)['original'] ?? url('favicons/iris-favicon.ico') }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ request()->get('website')->imageSources(180, 180)['original'] ?? url('favicons/iris-apple-favicon-180x180.png') }}">

@endif


@if (config('app.env', 'production') === 'staging')
<!-- Noindex untuk staging environment -->
<meta name="robots" content="noindex">
@endif

Expand Down

0 comments on commit 39a0257

Please sign in to comment.