|
1 | 1 | --- template/app/main.wasp
|
2 | 2 | +++ opensaas-sh/app/main.wasp
|
3 |
| -@@ -3,30 +3,30 @@ |
| 3 | +@@ -3,31 +3,32 @@ |
4 | 4 | version: "^0.16.0"
|
5 | 5 | },
|
6 | 6 |
|
7 | 7 | - title: "My Open SaaS App",
|
8 | 8 | + title: "Open SaaS",
|
9 | 9 |
|
10 | 10 | head: [
|
| 11 | + "<link rel='icon' href='/favicon.ico' />", |
11 | 12 | "<meta charset='utf-8' />",
|
12 | 13 | - "<meta name='description' content='Your apps main description and features.' />",
|
13 | 14 | - "<meta name='author' content='Your (App) Name' />",
|
|
43 | 44 | - // via the Cookie Consent component after the user clicks the "Accept" cookies button.
|
44 | 45 | - "<script defer data-domain='<your-site-id>' src='https://plausible.io/js/script.js'></script>", // for production
|
45 | 46 | - "<script defer data-domain='<your-site-id>' src='https://plausible.io/js/script.local.js'></script>", // for development
|
| 47 | ++ |
46 | 48 | + "<script defer data-domain='opensaas.sh' data-api='/waspara/wasp/event' src='/waspara/wasp/script.js'></script>",
|
47 | 49 | + "<script defer src='/piggy.js'></script>",
|
48 | 50 | ],
|
49 | 51 |
|
50 | 52 | // 🔐 Auth out of the box! https://wasp.sh/docs/auth/overview
|
51 |
| -@@ -38,7 +38,7 @@ |
| 53 | +@@ -39,7 +40,7 @@ |
52 | 54 | email: {
|
53 | 55 | fromField: {
|
54 | 56 | name: "Open SaaS App",
|
|
57 | 59 | },
|
58 | 60 | emailVerification: {
|
59 | 61 | clientRoute: EmailVerificationRoute,
|
60 |
| -@@ -50,21 +50,18 @@ |
| 62 | +@@ -51,21 +52,18 @@ |
61 | 63 | },
|
62 | 64 | userSignupFields: import { getEmailUserFields } from "@src/auth/userSignupFields",
|
63 | 65 | },
|
|
91 | 93 | },
|
92 | 94 | onAuthFailedRedirectTo: "/login",
|
93 | 95 | onAuthSucceededRedirectTo: "/demo-app",
|
94 |
| -@@ -86,11 +83,11 @@ |
| 96 | +@@ -87,11 +85,11 @@ |
95 | 97 | // NOTE: "Dummy" provider is just for local development purposes.
|
96 | 98 | // Make sure to check the server logs for the email confirmation url (it will not be sent to an address)!
|
97 | 99 | // Once you are ready for production, switch to e.g. "SendGrid" or "Mailgun" providers. Check out https://docs.opensaas.sh/guides/email-sending/ .
|
|
105 | 107 | },
|
106 | 108 | },
|
107 | 109 | }
|
108 |
| -@@ -206,9 +203,9 @@ |
| 110 | +@@ -207,9 +205,9 @@ |
109 | 111 | }
|
110 | 112 |
|
111 | 113 | api paymentsWebhook {
|
|
0 commit comments