fix: теперь все правильно (configs)
This commit is contained in:
3
app.R
3
app.R
@@ -35,8 +35,7 @@ HEADER_TEXT <- sprintf("%s (%s)", config::get("form_name"), config::get("form_a
|
||||
|
||||
# sadasdasdasdasdas
|
||||
options(box.path = config::get("form_app_configure_path"))
|
||||
box::use(enabled/enabled_schemes[enabled_schemes])
|
||||
|
||||
box::use(configs/enabled_schemes[enabled_schemes])
|
||||
|
||||
# CHECK FOR PANDOC
|
||||
# TEMP ! NEED TO HANDLE
|
||||
|
||||
@@ -4,12 +4,12 @@ default:
|
||||
prod:
|
||||
form_app_configure_path: "."
|
||||
form_auth_enabled: true
|
||||
form_id: new_form
|
||||
form_id: new_formy
|
||||
form_name: NEW FORMY
|
||||
|
||||
devel:
|
||||
form_app_configure_path: _devel
|
||||
form_app_configure_path: _devel/d2tra
|
||||
form_auth_enabled: false
|
||||
form_id: new_form
|
||||
form_id: new_formy
|
||||
form_name: NEW FORMY
|
||||
form_app_version: 0.15.0 dev
|
||||
@@ -33,7 +33,7 @@ set_global_options = function(
|
||||
}
|
||||
|
||||
#' @export
|
||||
AUTH_ENABLED <- Sys.getenv("FORM_AUTH_ENABLED", FALSE)
|
||||
AUTH_ENABLED <- config::get("form_auth_enabled")
|
||||
|
||||
#' @export
|
||||
check_and_init_scheme = function() {
|
||||
|
||||
Reference in New Issue
Block a user