Exclude canvaskit path for hosted
This commit is contained in:
parent
d2083b3a9d
commit
734bfa0cb8
1 changed files with 3 additions and 1 deletions
|
|
@ -21,7 +21,9 @@
|
|||
</script>
|
||||
<script>
|
||||
window.flutterConfiguration = {
|
||||
canvasKitBaseUrl: "{{ $canvas_path }}/canvaskit/"
|
||||
@if(!\App\Utils\Ninja::isHosted())
|
||||
canvasKitBaseUrl: "{{ $canvas_path }}/canvaskit/"
|
||||
@endif
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue