diff --git a/config_panel.toml b/config_panel.toml index b56edb0..df31d1a 100644 --- a/config_panel.toml +++ b/config_panel.toml @@ -12,7 +12,7 @@ name = "HedgeDoc configuration" yes = "true" no = "false" help = "Set to allow anonymous usage (default is true)." - bind = "allow_anonymous:__FINALPATH__/config.json" + bind = "allow_anonymous:__INSTALL_DIR__/config.json" [main.config.allow_anonymous_edits] ask = "Allow anonymous edits" @@ -20,7 +20,7 @@ name = "HedgeDoc configuration" yes = "true" no = "false" help = "Allow users to select freely permission, allowing guests to edit existing notes." - bind = "allow_anonymous_edits:__FINALPATH__/config.json" + bind = "allow_anonymous_edits:__INSTALL_DIR__/config.json" [main.config.allow_email_registration] @@ -29,7 +29,7 @@ name = "HedgeDoc configuration" yes = "true" no = "false" help = "Set to allow registration of new accounts using an email address. If set to false, you can still create accounts using the command line." - bind = "allow_email_registration:__FINALPATH__/config.json" + bind = "allow_email_registration:__INSTALL_DIR__/config.json" [main.config.allow_free_url] ask = "Allow new note creation" @@ -37,7 +37,7 @@ name = "HedgeDoc configuration" yes = "true" no = "false" help = "Set to allow new note creation by accessing a nonexistent note URL. This is the behavior familiar from Etherpad." - bind = "allow_free_url:__FINALPATH__/config.json" + bind = "allow_free_url:__INSTALL_DIR__/config.json" [main.config.require_free_url_authentication] ask = "Require FreeURL authentication" @@ -45,7 +45,7 @@ name = "HedgeDoc configuration" yes = "true" no = "false" help = "Set to require authentication for FreeURL mode style note creation." - bind = "require_free_url_authentication:__FINALPATH__/config.json" + bind = "require_free_url_authentication:__INSTALL_DIR__/config.json" diff --git a/config_panel.toml.example b/config_panel.toml.example deleted file mode 100644 index e784143..0000000 --- a/config_panel.toml.example +++ /dev/null @@ -1,24 +0,0 @@ -version = "1.0" - -[main] -name = "HedgeDoc configuration" - - [main.config] - name = "Configuration Options" - - [main.config.allow_anonymous] - ask = "Allow anonymous usage" - type = "boolean" - yes = "true" - no = "false" - help = "Set to allow anonymous usage (default is true)." - bind = "allow_anonymous:__FINALPATH__/config.json" - - [main.config.allow_email_registration] - ask = "Allow email registration" - type = "boolean" - yes = "true" - no = "false" - help = "Set to allow registration of new accounts using an email address. If set to false, you can still create accounts using the command line." - bind = "allow_email_registration:__FINALPATH__/config.json" -