Commit f871be670b96fa4165c21051b752aa16a6defd72
1 parent
a5486ede
返回值要是字符串
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/services/httpweb.lua
| @@ -82,7 +82,7 @@ local function start() | @@ -82,7 +82,7 @@ local function start() | ||
| 82 | if not content then | 82 | if not content then |
| 83 | code = 404 | 83 | code = 404 |
| 84 | end | 84 | end |
| 85 | - response(id, code, content) | 85 | + response(id, code, tostring(content)) |
| 86 | end | 86 | end |
| 87 | else | 87 | else |
| 88 | if url == sockethelper.socket_error then | 88 | if url == sockethelper.socket_error then |