[Feature] 将项目配置方式由配置文件更改为直接使用环境变量配置 #66
Labels
No Label
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
outdated
question
theme
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: OpenSourceJoker/Moe-Counter#66
Loading…
Reference in New Issue
Block a user
No description provided.
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?
由于 Moe-Counter 需要修改的配置项并不多,而且在各种平台进行私有部署时并不方便修改 config ,所以建议将配置修改为直接使用环境变量进行配置。
如
同时,可以通过调整配置项优先级来确保对旧配置的兼容性,如在有环境变量的情况下优先使用环境变量
已将配置文件更换为
.env
文件,等效于环境变量e4132e0ef1