feat: deployctl is not needed anymore (#45)
Deno Deploy now supports Deno.listen and Deno.serveHttp.
This commit is contained in:
@@ -50,7 +50,8 @@ export class ServerContext {
|
||||
if (path.startsWith("/api/")) {
|
||||
const handlers = Object.fromEntries(
|
||||
Object.entries(module as ApiRouteModule).filter(([method]) =>
|
||||
method === "default" || router.METHODS.includes(method)
|
||||
method === "default" ||
|
||||
(router.METHODS as readonly string[]).includes(method)
|
||||
),
|
||||
);
|
||||
const apiRoute: ApiRoute = {
|
||||
|
||||
Reference in New Issue
Block a user