FRONTEND_URL env
This commit is contained in:
parent
6eff243803
commit
296ba8ddab
@ -7,4 +7,5 @@ DB_PASSWORD=bla
|
|||||||
DB_NAME=./test.sqlite
|
DB_NAME=./test.sqlite
|
||||||
NODE_ENV=production
|
NODE_ENV=production
|
||||||
POSTALCODE_COUNTRYCODE=DE
|
POSTALCODE_COUNTRYCODE=DE
|
||||||
SEED_TEST_DATA=false
|
SEED_TEST_DATA=false
|
||||||
|
FRONTEND_URL=bla
|
@ -59,6 +59,7 @@ pnpm docs
|
|||||||
| SEED_TEST_DATA | Boolean | False | If you want the app to seed some example data set this to true |
|
| 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_URL | String(Url) | N/A | The mailer's base url (no trailing slash) |
|
||||||
| MAILER_KEY | String | N/A | The mailer's api key. |
|
| MAILER_KEY | String | N/A | The mailer's api key. |
|
||||||
|
| FRONTEND_URL | String(Url) | N/A | The link to frontend (no trailing slash) |
|
||||||
| IMPRINT_URL | String(Url) | /imprint | The link to a imprint page for the system (Defaults to the frontend's imprint) |
|
| 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) |
|
| PRIVACY_URL | String(Url) | /privacy | The link to a privacy page for the system (Defaults to the frontend's privacy page) |
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ export class Mailer {
|
|||||||
data: {
|
data: {
|
||||||
name: `${firstname} ${middlename} ${lastname}`,
|
name: `${firstname} ${middlename} ${lastname}`,
|
||||||
barcode_content: `${runner_id}`,
|
barcode_content: `${runner_id}`,
|
||||||
link: 'https://portal.lauf-fuer-kaya.de/profile/' + token
|
link: `${process.env.FRONTEND_URL}/profile/${token}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -90,7 +90,7 @@ export class Mailer {
|
|||||||
data: {
|
data: {
|
||||||
name: `${firstname} ${middlename} ${lastname}`,
|
name: `${firstname} ${middlename} ${lastname}`,
|
||||||
barcode_content: `${runner_id}`,
|
barcode_content: `${runner_id}`,
|
||||||
link: 'https://portal.lauf-fuer-kaya.de/profile/' + token
|
link: `${process.env.FRONTEND_URL}/profile/${token}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user