Commit Graph

6 Commits (bc7bbce83ae825b852fcc5cc9c343e700a19ceee)

Author SHA1 Message Date
Justin Reichardt 2ad62c43c0 Added the webserver option to the config
This allows turning the web server on or off
2022-08-19 18:56:04 -05:00
Justin Reichardt 5551cab919 Cleaned up the cfg file
I did a bunch of convoluted things to achieve something simple
Also added some comments
2022-08-19 16:47:08 -05:00
Justin Reichardt 2cb3b541b8 serve now pulls config and config panics if it fails to create
Had to also add var to allow serve to pull certs

If it cannot manage the config it needs to exit, so it made more sense to add it
there then check every time it is called
2022-08-19 15:27:31 -05:00
Justin Reichardt d8a697d3f7 Added sys to cfg
Creating a single cfg that can be passed around instead of several variables
2022-08-19 14:55:25 -05:00
Justin Reichardt 08721b9289 Performed some cleanup
Mostly go formatting but a little creative spacing and comments
2022-08-19 13:49:24 -05:00
Justin Reichardt 64c2a166cd Split config and hosts into separate modules
This cleans up the main file to make things easier to work with
2022-08-19 13:36:07 -05:00