about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-15 19:06:19 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-15 19:07:27 +0100
commitfbae4ab9127dc4dd9a707c27f8c0bf25a8289e7d (patch)
treefde09598259137a373b7fd860e1cddfec7e3f6f7 /src/config
parentdab0d1cd21e216da5551e807489a704ae7b3cb42 (diff)
downloadchawan-fbae4ab9127dc4dd9a707c27f8c0bf25a8289e7d.tar.gz
config: allow overriding default prepended scheme
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/config.nim b/src/config/config.nim
index 6500f73c..46ae2a08 100644
--- a/src/config/config.nim
+++ b/src/config/config.nim
@@ -101,6 +101,7 @@ type
   NetworkConfig = object
     max_redirect* {.jsgetset.}: int32
     prepend_https* {.jsgetset.}: bool
+    prepend_scheme* {.jsgetset.}: string
     proxy* {.jsgetset.}: Opt[string]
     default_headers* {.jsgetset.}: Table[string, string]