Add HTTP_SERVER_ASSETS_PATH option
Fix description for AUTH_ASSETS_PATH
This commit is contained in:
parent
e13e429ca9
commit
7fa5e43d08
@ -170,6 +170,13 @@
|
||||
# Default: <no value>
|
||||
# HTTP_SSL_TERMINATED=<no value>
|
||||
|
||||
###############################################################################
|
||||
# Corteza will directly serve these assets (static files).
|
||||
# When empty path is set (default value), embedded files are used.
|
||||
# Type: string
|
||||
# Default: <no value>
|
||||
# HTTP_SERVER_ASSETS_PATH=<no value>
|
||||
|
||||
###############################################################################
|
||||
# Enable web console. When running in dev environment, web console is enabled by default.
|
||||
# Type: bool
|
||||
@ -565,7 +572,6 @@
|
||||
# Path to js, css, images and template source files
|
||||
#
|
||||
# When corteza starts, if path exists it tries to load template files from it.
|
||||
# If not it uses statically embedded files.
|
||||
#
|
||||
# When empty path is set (default value), embedded files are used.
|
||||
# Type: string
|
||||
|
||||
@ -120,6 +120,13 @@ HTTPServer: schema.#optionsGroup & {
|
||||
env: "HTTP_SSL_TERMINATED"
|
||||
}
|
||||
|
||||
assets_path: {
|
||||
description: """
|
||||
Corteza will directly serve these assets (static files).
|
||||
When empty path is set (default value), embedded files are used.
|
||||
"""
|
||||
}
|
||||
|
||||
web_console_enabled: {
|
||||
type: "bool"
|
||||
defaultGoExpr: "false"
|
||||
|
||||
@ -185,7 +185,6 @@ auth: schema.#optionsGroup & {
|
||||
Path to js, css, images and template source files
|
||||
|
||||
When corteza starts, if path exists it tries to load template files from it.
|
||||
If not it uses statically embedded files.
|
||||
|
||||
When empty path is set (default value), embedded files are used.
|
||||
"""
|
||||
|
||||
1
pkg/options/options.gen.go
generated
1
pkg/options/options.gen.go
generated
@ -43,6 +43,7 @@ type (
|
||||
WebappBaseDir string `env:"HTTP_WEBAPP_BASE_DIR"`
|
||||
WebappList string `env:"HTTP_WEBAPP_LIST"`
|
||||
SslTerminated bool `env:"HTTP_SSL_TERMINATED"`
|
||||
AssetsPath string `env:"HTTP_SERVER_ASSETS_PATH"`
|
||||
WebConsoleEnabled bool `env:"HTTP_SERVER_WEB_CONSOLE_ENABLED"`
|
||||
WebConsoleUsername string `env:"HTTP_SERVER_WEB_CONSOLE_USERNAME"`
|
||||
WebConsolePassword string `env:"HTTP_SERVER_WEB_CONSOLE_PASSWORD"`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user