Skip to content

Commit f16541e

Browse files
author
eramitgupta
committed
feat: livewire app error fix
1 parent 6cd1ccf commit f16541e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/EragLaravelPwaServiceProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,19 @@ public function register(): void
2626
], 'erag:publish-pwa-config');
2727

2828
$this->publishes([
29-
__DIR__ . '/../resources/manifest.json' => public_path('manifest.json'),
29+
__DIR__.'/../resources/manifest.json' => public_path('manifest.json'),
3030
], 'erag:publish-manifest');
3131

3232
$this->publishes([
33-
__DIR__ . '/../resources/offline.html' => public_path('offline.html'),
33+
__DIR__.'/../resources/offline.html' => public_path('offline.html'),
3434
], 'erag:publish-offline');
3535

3636
$this->publishes([
37-
__DIR__ . '/../resources/sw.js' => public_path('sw.js'),
37+
__DIR__.'/../resources/sw.js' => public_path('sw.js'),
3838
], 'erag:publish-sw');
3939

4040
$this->publishes([
41-
__DIR__ . '/../resources/logo.png' => public_path('logo.png'),
41+
__DIR__.'/../resources/logo.png' => public_path('logo.png'),
4242
], 'erag:publish-logo');
4343

4444
}

src/Services/PWAService.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ public function RegisterServiceWorkerScript(): string
4040

4141
$isLivewire = config('pwa.livewire-app', false) ? 'data-navigate-once' : '';
4242

43-
4443
return <<<HTML
4544
{$installApp}
4645
<!-- PWA scripts -->

0 commit comments

Comments
 (0)