Open genofire opened 6 years ago
It couldn't find the login template. As of right now the template locations are specified relative to the project path (see templates.go
).
How did you build and run it?
maybe - do you want to build it on a way without crashing? (with a own panic with a message)
(okay it works in our git path, maybe you like to have a config for paths like static and templates + a scope for the filemanager - not all files down till /
)
Yeah, a config file is certainly makes sense. I used github.com/pelletier/go-toml a couple of times for similar setups.
Feel free to create a PR. I'm currently working on other projects but i would definitely merge this.
I have also a lot of projects ... so it will take some time, till i could spend time here