about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/io/data.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/data.nim b/src/io/data.nim
index 6e70eca4..3afe58f0 100644
--- a/src/io/data.nim
+++ b/src/io/data.nim
@@ -12,7 +12,7 @@ proc loadData*(handle: LoaderHandle, request: Request) =
   template t(body: untyped) =
     if not body:
       return
-  let str = $request.url
+  var str = $request.url
   let si = "data:".len # start index
   var ct = ""
   for i in si ..< str.len: