mufeedvh / binserve

A fast production-ready static web server with TLS (HTTPS), routing, hot reloading, caching, templating, and security in a single-binary you can set up with zero code.

Home Page:https://mufeedvh.gumroad.com/l/binserveplus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom config location

IgnisDa opened this issue · comments

Thanks for the project, it is really awesome!

Right now, the configuration file is hardcoded to be read from the current directory. Sometimes it becomes necessary to run binserve from a directory which does not have a binserve.json. In this case, it would be great if we have the option to specify the location of the configuration file.

Hey @IgnisDa, yeah this was a major oversight, it should've been a command-line argument instead. This is a small change so I will definitely make this the case in the next release!

Thank you for raising this issue glad you liked the project, and sorry for the late reply! 🙌❤️

Same as #34