Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions opensaas-sh/app_diff/main.wasp.diff
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
- // NOTE: Plausible does not use Cookies, so you can simply add the scripts here.
- // Google, on the other hand, does, so you must instead add the script dynamically
- // via the Cookie Consent component after the user clicks the "Accept" cookies button.
- "<script defer data-domain='<your-site-id>' src='https://plausible.io/js/script.js'></script>", // for production
- "<script defer data-domain='<your-site-id>' src='https://plausible.io/js/script.local.js'></script>", // for development
- "<script async data-domain='<your-site-id>' src='https://plausible.io/js/script.js'></script>", // for production
- "<script async data-domain='<your-site-id>' src='https://plausible.io/js/script.local.js'></script>", // for development
+
+ "<script defer data-domain='opensaas.sh' vite-ignore='' data-api='/waspara/wasp/event' src='/waspara/wasp/script.js'></script>",
+ "<script async data-domain='opensaas.sh' data-api='/waspara/wasp/event' src='/waspara/wasp/script.js'></script>",
],

// 🔐 Auth out of the box! https://wasp.sh/docs/auth/overview
Expand Down
4 changes: 2 additions & 2 deletions template/app/main.wasp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ app OpenSaaS {
// NOTE: Plausible does not use Cookies, so you can simply add the scripts here.
// Google, on the other hand, does, so you must instead add the script dynamically
// via the Cookie Consent component after the user clicks the "Accept" cookies button.
"<script defer data-domain='<your-site-id>' src='https://plausible.io/js/script.js'></script>", // for production
"<script defer data-domain='<your-site-id>' src='https://plausible.io/js/script.local.js'></script>", // for development
"<script async data-domain='<your-site-id>' src='https://plausible.io/js/script.js'></script>", // for production
"<script async data-domain='<your-site-id>' src='https://plausible.io/js/script.local.js'></script>", // for development
],

// 🔐 Auth out of the box! https://wasp.sh/docs/auth/overview
Expand Down