Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/feature/feature.go')
-rw-r--r--internal/feature/feature.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/feature/feature.go b/internal/feature/feature.go
index d5c340ff..c9df43aa 100644
--- a/internal/feature/feature.go
+++ b/internal/feature/feature.go
@@ -19,6 +19,12 @@ var HandleReadErrors = Feature{
EnvVariable: "FF_HANDLE_READ_ERRORS",
}
+// ConfigurableRoot enables a project's root directory to be customized using
+// the GitLab API
+var ConfigurableRoot = Feature{
+ EnvVariable: "FF_CONFIGURABLE_ROOT_DIR",
+}
+
// Enabled reads the environment variable responsible for the feature flag
// if FF is disabled by default, the environment variable needs to be "true" to explicitly enable it
// if FF is enabled by default, variable needs to be "false" to explicitly disable it