Enable UI handling logic with dev passthrough directories. (#145)

* Enable UI handling logic with dev passthrough directories.

* Add tests and fix a couple of things
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-06-24 16:06:19 -04:00
1 parent 6641244734
commit 8de5371499
6 files changed
+280 -19

No files matched your search

@@ -13,6 +13,6 @@ func addDevOnlyControllerFlags(c *Command, f *base.FlagSet) {
Name: "dev-passthrough-directory",
Target: &c.flagDevPassthroughDirectory,
EnvVar: "WATCHTOWER_DEV_PASSTHROUGH_DIRECTORY",
Usage: "Enables a passthrough directory in the webserver at /passthrough",
Usage: "Enables a passthrough directory in the webserver at /",
})
}