This PR adds a basic admin API. A large part of the changes are done to enable changes of the configuration at runtime by sharing access to a single arced config instance so that one can crud sites thru the API.
New configuration setting added:
admin_api_port = 6789 # optional - leave out to disable the admin api
Current impl will inline the contents of index.html and script.js such that it gets baked in to the binary rather than shipped as external files.
This PR adds a basic admin API. A large part of the changes are done to enable changes of the configuration at runtime by sharing access to a single arced config instance so that one can crud sites thru the API.
New configuration setting added:
Current impl will inline the contents of index.html and script.js such that it gets baked in to the binary rather than shipped as external files.