From b928f4d356a37b54fe9c50350c3227503f599be1 Mon Sep 17 00:00:00 2001 From: madeliri Date: Mon, 20 Apr 2026 19:17:53 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D1=82=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20?= =?UTF-8?q?=D0=B2=D1=81=D0=B5=20=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=D1=8C?= =?UTF-8?q?=D0=BD=D0=BE=20(configs)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.R | 3 +-- config.yml | 6 +++--- modules/global_options.R | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app.R b/app.R index 121014c..29437e4 100644 --- a/app.R +++ b/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 diff --git a/config.yml b/config.yml index 2a91d68..f4f9f7f 100644 --- a/config.yml +++ b/config.yml @@ -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 \ No newline at end of file diff --git a/modules/global_options.R b/modules/global_options.R index 5309db4..840dd96 100644 --- a/modules/global_options.R +++ b/modules/global_options.R @@ -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() {