aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/config.ts
Commit message (Collapse)AuthorAgeFilesLines
* chore: use a different configuration depending on app envArmand Philippot2022-03-041-1/+11
| | | | | | It will be useful with Docker. Instead of cloning the project with a different configuration, I can manage two different configuration thanks to dotenv and some checking inside the app.
* feat: replace Matomo with AckeeArmand Philippot2022-02-211-4/+5
| | | | | I do not use all Matomo features so I was searching a lightweight analytics tools. I will give a try to Ackee.
* feat: add HTTP security headersArmand Philippot2022-02-151-2/+2
| | | | | I also renamed and changed the format of some environment variables so I can reuse them inside the CSP security header.
* chore(matomo): use another dependency to track page viewsArmand Philippot2022-02-141-0/+4
| | | | | | I though the previous package would track all visits with the provided but it seems that I need to add trackPageView on all pages. So I decided to use another package.
* chore(baseline): handle baseline translation manuallyArmand Philippot2022-01-301-1/+4
| | | | | | I cannot use formatjs to translate the website baseline since I need an async function to load the message. If I use the getIntlInstance helper outside NextJS, webpack is complaining about fs and path.
* refactor(config): move config from config dir to utilsArmand Philippot2022-01-291-0/+16