Cleanup
This commit is contained in:
@@ -65,8 +65,7 @@ proc `$`*(x: Env): string =
|
||||
htmlRoot: {x.htmlRoot},
|
||||
distRoot: {x.distRoot},
|
||||
orgEnv: {x.orgEnv},
|
||||
)
|
||||
"""
|
||||
)"""
|
||||
|
||||
when isMainModule:
|
||||
echo initEnv()
|
||||
|
||||
@@ -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"
|
||||
})
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user