summaryrefslogtreecommitdiff
path: root/runtime/js/40_http.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/40_http.js')
-rw-r--r--runtime/js/40_http.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/js/40_http.js b/runtime/js/40_http.js
index cfb015edd..dd6c99a2d 100644
--- a/runtime/js/40_http.js
+++ b/runtime/js/40_http.js
@@ -18,7 +18,7 @@
return entries;
}
- function startHttp(conn) {
+ function serveHttp(conn) {
const rid = Deno.core.jsonOpSync("op_http_start", conn.rid);
return new HttpConn(rid);
}
@@ -205,6 +205,6 @@
}
window.__bootstrap.http = {
- startHttp,
+ serveHttp,
};
})(this);