mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 22:59:56 +01:00
[PR #1] refactor: runtime config #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/ArthurDanjou/artsite/pull/1
State: closed
Merged: Yes
Because of some typos, you will have to update your environment variables in your deployment like the USER_UD instead of the USER_ID
Hello 👋,
I refactor the usage of the runtime config. First, there was some typos between the name of the environment variable and the name of the runtime config. Then, I remove the usage of
process.envsince Nuxt is already able to overwrite the runtime config with the environment variables.You can learn more with this video: https://youtu.be/_FYV5WfiWvs?si=XWUumfMOBC90TivF
I think the runtime config
discord.idanddiscord.tokenis not used and could be removed.