SELFSERVICE_URL

This commit is contained in:
Philipp Dormann 2024-12-11 18:43:11 +01:00
parent 296ba8ddab
commit 765ef84903
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314
3 changed files with 4 additions and 4 deletions

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}`
}
}
});