pluveto/flydav

amd64 version can not read config file

Closed this issue · 3 comments

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?

@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"