amd64 version can not read config file
Closed this issue · 3 comments
maxkimkim commented
Hello! I downloaded the flydav-app-windows-amd64.zip version and used the command line flydav.exe -config D:\FlyDav\flydav.toml to start with the configuration file, but the default configuration is still used. How should I write it?
pluveto commented
两个----- On Thu, 2023-02-16 14:57:46 ***@***.***> wrote ----
你好!我下载了 flydav-app-windows-amd64.zip 版本,使用命令行 flydav.exe -config D:FlyDavlydav.toml 带配置文件启动,但还是用默认配置,请问怎么写才对?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
hhs66317 commented
@maxkimkim Windows
The ”\“ in the path under Windows needs to be escape,So If the configuration cannot be analyzed correctly, the default settings will be used
for example
[server]
host = "0.0.0.0"
port = 7086
path = ""
fs_dir = "C:\\berrybrew"
But the UI path in the configuration cannot be processed correctly,There is no problem under Linux,This requires @pluveto to handle
[ui]
enabled = true
path = "/ui"
source = "F:\\soft\\flydav\\ui"
maxkimkim commented
It have been solved.
Thank you very much!
hhs66317 ***@***.***> 于2023年2月16日周四 15:47写道:
… @maxkimkim <https://github.com/maxkimkim> Windows
The ”\“ in the path under Windows needs to be escape,So If the
configuration cannot be analyzed correctly, the default settings will be
used
for example
[server]
host = "0.0.0.0"
port = 7086
path = ""
fs_dir = "C:\\berrybrew"
But the UI path in the configuration cannot be processed correctly,There
is no problem under Linux,This requires @pluveto
<https://github.com/pluveto> to handle
[ui]
enabled = true
path = "/ui"
source = "F:\\soft\\flydav\\ui"
—
Reply to this email directly, view it on GitHub
<#9 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACORDIMMEQQQ2IBB3X5BIMTWXXLRTANCNFSM6AAAAAAU5YRPZI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>