johnwest6192
WWasp
•Created by johnwest6192 on 4/7/2025 in #đŸ™‹questions
need a way to have different emailsender in dev and prod...
right now, when developing locally, i have to set the emailsender to dummy. then, before deploying, i need to set it to smtp. then, when running locally, back to dummy. over and over. sometimes i can do multiple deployments in a day, so this is significant friction, and if i forget, the prod environment will be set to dummy.
there needs to be a way to have a main.wasp and a main.wasp.prod or some such, with the settings in the latter file overriding those in the default (dev) file. or vice versa, the mechanism doesn't matter as long as it's possible.
thoughts?
6 replies