We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On new installs since 0.13.0, the server won't start and give the following error;
`[user@install]$ standardfile server -c /etc/standardfile.yaml
panic: invalid value: cors.allow_origins=[] goroutine 1 [running]: github.com/knadh/koanf/v2.(*Koanf).MustStrings(0xc00002c3c0?, {0xa61905, 0x12}) /home/runner/go/pkg/mod/github.com/knadh/koanf/v2@v2.1.1/getters.go:429 +0xc8 main.init.func3(0xc0000fa500?, {0xc00007c4c0?, 0x4?, 0xa5b9de?}) /home/runner/work/standardfile/standardfile/cmd/standardfile/main.go:189 +0x410 github.com/spf13/cobra.(*Command).execute(0xf163a0, {0xc00007c4a0, 0x2, 0x2}) /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:985 +0xaaa github.com/spf13/cobra.(*Command).ExecuteC(0xc0000fc608) /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff github.com/spf13/cobra.(*Command).Execute(...) /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1041 main.main() /home/runner/work/standardfile/standardfile/cmd/standardfile/main.go:52 +0x356 `
Any clue where the error comes from ?
The text was updated successfully, but these errors were encountered:
There is an update on the config file:
standardfile/standardfile.yml
Lines 10 to 14 in 9ac5b0a
Sorry, something went wrong.
No branches or pull requests
On new installs since 0.13.0, the server won't start and give the following error;
`[user@install]$ standardfile server -c /etc/standardfile.yaml
panic: invalid value: cors.allow_origins=[]
goroutine 1 [running]:
github.com/knadh/koanf/v2.(*Koanf).MustStrings(0xc00002c3c0?, {0xa61905, 0x12})
/home/runner/go/pkg/mod/github.com/knadh/koanf/v2@v2.1.1/getters.go:429 +0xc8
main.init.func3(0xc0000fa500?, {0xc00007c4c0?, 0x4?, 0xa5b9de?})
/home/runner/work/standardfile/standardfile/cmd/standardfile/main.go:189 +0x410
github.com/spf13/cobra.(*Command).execute(0xf163a0, {0xc00007c4a0, 0x2, 0x2})
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:985 +0xaaa
github.com/spf13/cobra.(*Command).ExecuteC(0xc0000fc608)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1117 +0x3ff
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.8.1/command.go:1041
main.main()
/home/runner/work/standardfile/standardfile/cmd/standardfile/main.go:52 +0x356
`
Any clue where the error comes from ?
The text was updated successfully, but these errors were encountered: