This commit is contained in:
Florian Schroedl
2022-05-30 20:35:56 +02:00
parent bbc3c9d28b
commit da2b4dc903
2 changed files with 2 additions and 3 deletions

View File

@@ -65,8 +65,7 @@ proc `$`*(x: Env): string =
htmlRoot: {x.htmlRoot},
distRoot: {x.distRoot},
orgEnv: {x.orgEnv},
)
"""
)"""
when isMainModule:
echo initEnv()

View File

@@ -91,7 +91,7 @@ proc sendOrgFile(env: Env, id: orgId, path: seq[string]): NimHttpResponse =
code: Http200,
content: content,
headers: newHttpHeaders({
"Content-Type": "application/json"
"Content-Type": "text/plain"
})
)
)