refactor: move to new mailer #209

Merged
niggl merged 4 commits from refactor/new-mailer into dev 2024-12-11 19:04:12 +00:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit 765ef84903 - Show all commits

View File

@ -8,4 +8,4 @@ DB_NAME=./test.sqlite
NODE_ENV=production
POSTALCODE_COUNTRYCODE=DE
SEED_TEST_DATA=false
FRONTEND_URL=bla
SELFSERVICE_URL=bla

View File

@ -59,7 +59,7 @@ pnpm docs
| SEED_TEST_DATA | Boolean | False | If you want the app to seed some example data set this to true |
| MAILER_URL | String(Url) | N/A | The mailer's base url (no trailing slash) |
| MAILER_KEY | String | N/A | The mailer's api key. |
| FRONTEND_URL | String(Url) | N/A | The link to frontend (no trailing slash) |
| SELFSERVICE_URL | String(Url) | N/A | The link to selfservice (no trailing slash) |
| IMPRINT_URL | String(Url) | /imprint | The link to a imprint page for the system (Defaults to the frontend's imprint) |
| PRIVACY_URL | String(Url) | /privacy | The link to a privacy page for the system (Defaults to the frontend's privacy page) |

View File

@ -59,7 +59,7 @@ export class Mailer {
data: {
name: `${firstname} ${middlename} ${lastname}`,
barcode_content: `${runner_id}`,
link: `${process.env.FRONTEND_URL}/profile/${token}`
link: `${process.env.SELFSERVICE_URL}/profile/${token}`
}
}
});
@ -90,7 +90,7 @@ export class Mailer {
data: {
name: `${firstname} ${middlename} ${lastname}`,
barcode_content: `${runner_id}`,
link: `${process.env.FRONTEND_URL}/profile/${token}`
link: `${process.env.SELFSERVICE_URL}/profile/${token}`
}
}
});