diff options
| author | EuAndreh <eu@euandre.org> | 2024-03-14 05:38:00 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2024-03-14 05:38:00 -0300 |
| commit | c5df06276f48a1c36d4c790518553e736b4ce126 (patch) | |
| tree | 061488ad926ce32ee3f806d5562449b369cd050e | |
| parent | src/hero.mjs: Add timing data to "in-response" log entry (diff) | |
| download | papod-c5df06276f48a1c36d4c790518553e736b4ce126.tar.gz papod-c5df06276f48a1c36d4c790518553e736b4ce126.tar.xz | |
src/web.mjs: Add trailing newline to body
| -rw-r--r-- | src/web.mjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web.mjs b/src/web.mjs index 7586875..c3651a9 100644 --- a/src/web.mjs +++ b/src/web.mjs @@ -2,8 +2,8 @@ import * as u from "./utils.mjs"; import * as hero from "./hero.mjs"; const listProducts = req => ({ status: 200 }); -const getProduct = req => ({ status: 200, body: "PRODUTO" }); -const getSocket = req => ({ status: 200, body: "SOCKET" }); +const getProduct = req => ({ status: 200, body: "PRODUTO\n" }); +const getSocket = req => ({ status: 200, body: "SOCKET\n" }); const name = "papo"; |
