Skip to content

Commit

Permalink
Consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
thesephist committed Jul 7, 2019
1 parent 3d65fde commit b1519ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/fileserver.ink
@@ -1,7 +1,7 @@
` a primitive HTTP static file server `

DIR := '.'
PORT := 8080
PORT := 7800

` short non-comprehensive list of MIME types `
TYPES := {
Expand Down Expand Up @@ -63,8 +63,8 @@ close := listen('0.0.0.0:' + string(PORT), evt => (
(evt.end)({
status: 200
headers: {
'X-Served-By': 'ink-serve'
'Content-Type': getType(path)
'X-Served-By': 'ink-serve'
}
body: fileBody,
})
Expand Down

0 comments on commit b1519ae

Please sign in to comment.