Skip to content

Commit 48cfd62

Browse files
authored
Merge pull request #417 from wasp-lang/franjo/favicon-changes
2 parents 0e036c0 + 0caed34 commit 48cfd62

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

opensaas-sh/app_diff/main.wasp.diff

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
--- template/app/main.wasp
22
+++ opensaas-sh/app/main.wasp
3-
@@ -3,30 +3,30 @@
3+
@@ -3,31 +3,32 @@
44
version: "^0.16.0"
55
},
66

77
- title: "My Open SaaS App",
88
+ title: "Open SaaS",
99

1010
head: [
11+
"<link rel='icon' href='/favicon.ico' />",
1112
"<meta charset='utf-8' />",
1213
- "<meta name='description' content='Your apps main description and features.' />",
1314
- "<meta name='author' content='Your (App) Name' />",
@@ -43,12 +44,13 @@
4344
- // via the Cookie Consent component after the user clicks the "Accept" cookies button.
4445
- "<script defer data-domain='<your-site-id>' src='https://plausible.io/js/script.js'></script>", // for production
4546
- "<script defer data-domain='<your-site-id>' src='https://plausible.io/js/script.local.js'></script>", // for development
47+
+
4648
+ "<script defer data-domain='opensaas.sh' data-api='/waspara/wasp/event' src='/waspara/wasp/script.js'></script>",
4749
+ "<script defer src='/piggy.js'></script>",
4850
],
4951

5052
// 🔐 Auth out of the box! https://wasp.sh/docs/auth/overview
51-
@@ -38,7 +38,7 @@
53+
@@ -39,7 +40,7 @@
5254
email: {
5355
fromField: {
5456
name: "Open SaaS App",
@@ -57,7 +59,7 @@
5759
},
5860
emailVerification: {
5961
clientRoute: EmailVerificationRoute,
60-
@@ -50,21 +50,18 @@
62+
@@ -51,21 +52,18 @@
6163
},
6264
userSignupFields: import { getEmailUserFields } from "@src/auth/userSignupFields",
6365
},
@@ -91,7 +93,7 @@
9193
},
9294
onAuthFailedRedirectTo: "/login",
9395
onAuthSucceededRedirectTo: "/demo-app",
94-
@@ -86,11 +83,11 @@
96+
@@ -87,11 +85,11 @@
9597
// NOTE: "Dummy" provider is just for local development purposes.
9698
// Make sure to check the server logs for the email confirmation url (it will not be sent to an address)!
9799
// Once you are ready for production, switch to e.g. "SendGrid" or "Mailgun" providers. Check out https://docs.opensaas.sh/guides/email-sending/ .
@@ -105,7 +107,7 @@
105107
},
106108
},
107109
}
108-
@@ -206,9 +203,9 @@
110+
@@ -207,9 +205,9 @@
109111
}
110112

111113
api paymentsWebhook {

template/app/main.wasp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ app OpenSaaS {
66
title: "My Open SaaS App",
77

88
head: [
9+
"<link rel='icon' href='/favicon.ico' />",
910
"<meta charset='utf-8' />",
1011
"<meta name='description' content='Your apps main description and features.' />",
1112
"<meta name='author' content='Your (App) Name' />",

0 commit comments

Comments
 (0)