Skip to content

Commit a1a344b

Browse files
committed
Big red warning box to prevent the inevitable users trying to run this as a prod build
1 parent 11c1724 commit a1a344b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

resources/views/templates/wrapper.blade.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@
3838
@include('layouts.scripts')
3939
</head>
4040
<body class="{{ $css['body'] ?? 'bg-neutral-50' }}">
41+
@if(\Illuminate\Support\Str::contains(config('app.version'), ['-alpha', '-beta']))
42+
<div class="bg-red-500">
43+
<p class="text-center text-white text-sm p-3">
44+
You are running a pre-release version of Pterodactyl. Please report any issues
45+
<a href="https://github.com/pterodactyl/panel/issues" class="text-red-100">via GitHub</a>.
46+
</p>
47+
</div>
48+
@endif
4149
@section('content')
4250
@yield('above-container')
4351
@yield('container')

0 commit comments

Comments
 (0)