Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
javalikescript committed Dec 27, 2024
1 parent f5c32d9 commit a16626b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jls/lang/luv_async.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ return function(value)
return setmetatable({
_cleanmt = false,
_metatable = mt,
_data = value
_data = value,
close = function()
error('cannot close async argument')
end
}, ASYNC_MT)
end
end
Expand Down
1 change: 1 addition & 0 deletions jls/net/http/HttpExchange.lua
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ end, function(HttpExchange)
json = 'application/json',
htm = 'text/html',
html = 'text/html',
xhtml = 'application/xhtml+xml',
mp4 = 'video/mp4',
svg = 'image/svg+xml',
txt = 'text/plain',
Expand Down

0 comments on commit a16626b

Please sign in to comment.