fix css when not runnin in webroot directory (#9445)

Co-authored-by: Michael Pietsch <skywalker-11@mi-pietsch.de>
This commit is contained in:
Michael Pietsch 2021-04-20 23:49:57 +02:00 committed by GitHub
parent f3831fe010
commit 15e729f4b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@
</script>
{{-- stylesheets --}}
<link rel="stylesheet" href="{{ mix('css/dist/all.css') }}">
<link rel="stylesheet" href="{{ url(mix('css/dist/all.css')) }}">
@if (($snipeSettings) && ($snipeSettings->allow_user_skin==1) && Auth::check() && Auth::user()->present()->skin != '')
<link rel="stylesheet" href="{{ mix('css/dist/skins/skin-'.Auth::user()->present()->skin.'.min.css') }}">
@else