[Refactor] web server header cleanups (#16)

* Rename variables

* Content type headers

* Headers cleanup
This commit is contained in:
Brahim Hadriche authored and GitHub committed 2022-11-29 18:43:23 -05:00
1 parent 27b4ad90d3
commit 1734425b9c
4 files changed
+72 -62

No files matched your search

@@ -11,7 +11,7 @@ namespace Http
m.All("*", function(context as object) as boolean
router = context.router
response = context.response
response.allow_origin = router.origin
response.headers["Access-Control-Allow-Origin"] = router.origin
return false
end function)
end function