We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57f045d commit 8006bd6Copy full SHA for 8006bd6
command/agent/http.go
@@ -47,8 +47,9 @@ var (
47
// Set to false by stub_asset if the ui build tag isn't enabled
48
uiEnabled = true
49
50
- // Overridden if the ui build tag isn't enabled
51
- stubHTML = ""
+ // Displayed when ui is disabled, but overridden if the ui build
+ // tag isn't enabled
52
+ stubHTML = "<html><p>Nomad UI is disabled</p></html>"
53
54
// allowCORS sets permissive CORS headers for a handler
55
allowCORS = cors.New(cors.Options{
0 commit comments