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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configuration file should be taken as an argument

mufeedvh opened this issue · comments

Currently for convenience, a configuration file is generated on the first run and is always consumed from the same working directory as the binary is executed. This implementation was to make project separation easier but comes with an overlooked issue where the executable file could/should be placed outside of a project directory.

This is a tracking issue alongside #32 to implement override for every configuration functions.