From 92c4f839cb502b4556250c258d4d2800cdcf7f0f Mon Sep 17 00:00:00 2001 From: Jesus Guerrero Date: Wed, 23 Oct 2024 07:46:51 -0400 Subject: [PATCH] feat: add one signal --- public/OneSignalSDKWorker.js | 1 + resources/views/app.blade.php | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 public/OneSignalSDKWorker.js diff --git a/public/OneSignalSDKWorker.js b/public/OneSignalSDKWorker.js new file mode 100644 index 00000000..067cf4da --- /dev/null +++ b/public/OneSignalSDKWorker.js @@ -0,0 +1 @@ +importScripts("https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.sw.js"); \ No newline at end of file diff --git a/resources/views/app.blade.php b/resources/views/app.blade.php index 22039835..8ff4da44 100644 --- a/resources/views/app.blade.php +++ b/resources/views/app.blade.php @@ -24,6 +24,19 @@ @routes @vite('resources/js/app.js') @inertiaHead + + @inertia