Cleanup
This commit is contained in:
@@ -65,8 +65,7 @@ proc `$`*(x: Env): string =
|
|||||||
htmlRoot: {x.htmlRoot},
|
htmlRoot: {x.htmlRoot},
|
||||||
distRoot: {x.distRoot},
|
distRoot: {x.distRoot},
|
||||||
orgEnv: {x.orgEnv},
|
orgEnv: {x.orgEnv},
|
||||||
)
|
)"""
|
||||||
"""
|
|
||||||
|
|
||||||
when isMainModule:
|
when isMainModule:
|
||||||
echo initEnv()
|
echo initEnv()
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ proc sendOrgFile(env: Env, id: orgId, path: seq[string]): NimHttpResponse =
|
|||||||
code: Http200,
|
code: Http200,
|
||||||
content: content,
|
content: content,
|
||||||
headers: newHttpHeaders({
|
headers: newHttpHeaders({
|
||||||
"Content-Type": "application/json"
|
"Content-Type": "text/plain"
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user