Skip to content

Adapt template and app to favicon breaking changes #417

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
12 changes: 7 additions & 5 deletions opensaas-sh/app_diff/main.wasp.diff
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
--- template/app/main.wasp
+++ opensaas-sh/app/main.wasp
@@ -3,30 +3,30 @@
@@ -3,31 +3,32 @@
version: "^0.16.0"
},

- title: "My Open SaaS App",
+ title: "Open SaaS",

head: [
"<link rel='icon' href='/favicon.ico' />",
"<meta charset='utf-8' />",
- "<meta name='description' content='Your apps main description and features.' />",
- "<meta name='author' content='Your (App) Name' />",
Expand Down Expand Up @@ -43,12 +44,13 @@
- // 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 defer data-domain='opensaas.sh' data-api='/waspara/wasp/event' src='/waspara/wasp/script.js'></script>",
+ "<script defer src='/piggy.js'></script>",
],

// 🔐 Auth out of the box! https://wasp.sh/docs/auth/overview
@@ -38,7 +38,7 @@
@@ -39,7 +40,7 @@
email: {
fromField: {
name: "Open SaaS App",
Expand All @@ -57,7 +59,7 @@
},
emailVerification: {
clientRoute: EmailVerificationRoute,
@@ -50,21 +50,18 @@
@@ -51,21 +52,18 @@
},
userSignupFields: import { getEmailUserFields } from "@src/auth/userSignupFields",
},
Expand Down Expand Up @@ -91,7 +93,7 @@
},
onAuthFailedRedirectTo: "/login",
onAuthSucceededRedirectTo: "/demo-app",
@@ -86,11 +83,11 @@
@@ -87,11 +85,11 @@
// NOTE: "Dummy" provider is just for local development purposes.
// Make sure to check the server logs for the email confirmation url (it will not be sent to an address)!
// Once you are ready for production, switch to e.g. "SendGrid" or "Mailgun" providers. Check out https://docs.opensaas.sh/guides/email-sending/ .
Expand All @@ -105,7 +107,7 @@
},
},
}
@@ -206,9 +203,9 @@
@@ -207,9 +205,9 @@
}

api paymentsWebhook {
Expand Down
1 change: 1 addition & 0 deletions template/app/main.wasp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ app OpenSaaS {
title: "My Open SaaS App",

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