about summary refs log tree commit diff stats
path: root/src/server/loader.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/loader.nim')
-rw-r--r--src/server/loader.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/loader.nim b/src/server/loader.nim
index 45c41f1c..60e37610 100644
--- a/src/server/loader.nim
+++ b/src/server/loader.nim
@@ -272,6 +272,7 @@ type
     tmpdir*: string
     sockdir*: string
     configdir*: string
+    bookmark*: string
 
 func isPrivileged(ctx: LoaderContext; client: ClientData): bool =
   return ctx.pagerClient == client
@@ -1428,6 +1429,7 @@ proc initLoaderContext(fd: cint; config: LoaderConfig): LoaderContext =
   putEnv("CHA_INSECURE_SSL_NO_VERIFY", "0")
   putEnv("CHA_TMP_DIR", config.tmpdir)
   putEnv("CHA_CONFIG_DIR", config.configdir)
+  putEnv("CHA_BOOKMARK", config.bookmark)
   return ctx
 
 # This is only called when an OutputHandle could not read enough of one (or