Closed purerosefallen closed 1 year ago
If koishi.yml is readonly, like, volumed in ro type, or in a readonly-mounted filesystem, it can't start.
docker run -it --rm -v ./koishi.yml:/koishi/koishi.yml koishijs/koishi:latest
It should start well with a readonly config file.
Looks like it parsed this yaml file as a js file.
No response
Not a proper screenshot, but can be reproduced
额,这是把你的配置文件当成 ts 来读了吧,跟 readonly 有啥关系?
已定位问题,会尽快修复。
Describe the bug
If koishi.yml is readonly, like, volumed in ro type, or in a readonly-mounted filesystem, it can't start.
Steps to reproduce
docker run -it --rm -v ./koishi.yml:/koishi/koishi.yml koishijs/koishi:latest
Expected behavior
It should start well with a readonly config file.
Screenshots
Looks like it parsed this yaml file as a js file.
Versions
Additional context
No response