mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-11-21 18:57:04 +01:00
Use dope.sh to generate a testable app from production template
This commit is contained in:
28
template-test/app_diff/main.wasp.diff
Normal file
28
template-test/app_diff/main.wasp.diff
Normal file
@@ -0,0 +1,28 @@
|
||||
--- /Users/ilakovac/dev/open-saas/template-test/tools/../../template-test/base-app/app/main.wasp
|
||||
+++ template-test/app/main.wasp
|
||||
@@ -39,7 +39,7 @@
|
||||
email: {
|
||||
fromField: {
|
||||
name: "Open SaaS App",
|
||||
- email: "me@example.com"
|
||||
+ email: "opensaastemplate@mg.wasp.sh"
|
||||
},
|
||||
emailVerification: {
|
||||
clientRoute: EmailVerificationRoute,
|
||||
@@ -84,14 +84,11 @@
|
||||
},
|
||||
|
||||
emailSender: {
|
||||
- // 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/ .
|
||||
- provider: Dummy,
|
||||
+ provider: SMTP,
|
||||
defaultFrom: {
|
||||
name: "Open SaaS App",
|
||||
// When using a real provider, e.g. SendGrid, you must use the same email address that you configured your account to send out emails with!
|
||||
- email: "me@example.com"
|
||||
+ email: "opensaastemplate@mg.wasp.sh"
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user