2023-03-15 16:00:52 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-01-05 18:02:03 +00:00
|
|
|
//go:build !ui
|
2018-03-27 20:23:33 +00:00
|
|
|
|
|
|
|
package http
|
|
|
|
|
|
|
|
import (
|
2021-08-18 15:05:11 +00:00
|
|
|
"net/http"
|
2018-03-27 20:23:33 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
2021-08-18 15:05:11 +00:00
|
|
|
// set uiBuiltIn to false to indicate the ui is not built in. See
|
|
|
|
// http/handler.go
|
2018-03-27 20:23:33 +00:00
|
|
|
uiBuiltIn = false
|
|
|
|
}
|
|
|
|
|
|
|
|
// assetFS is a stub for building Vault without a UI.
|
2021-08-18 15:05:11 +00:00
|
|
|
func assetFS() http.FileSystem {
|
2018-03-27 20:23:33 +00:00
|
|
|
return nil
|
|
|
|
}
|