Fix endpoint test
This commit is contained in:
parent
5bbd099bdd
commit
b936a435ab
@ -24,7 +24,7 @@ Deno.test("Run a plugos endpoint server", async () => {
|
|||||||
const app = new Application();
|
const app = new Application();
|
||||||
const port = 3123;
|
const port = 3123;
|
||||||
|
|
||||||
system.addHook(new EndpointHook(app, "/_"));
|
system.addHook(new EndpointHook(app, "/_/"));
|
||||||
|
|
||||||
const controller = new AbortController();
|
const controller = new AbortController();
|
||||||
app.listen({ port: port, signal: controller.signal });
|
app.listen({ port: port, signal: controller.signal });
|
||||||
|
Loading…
Reference in New Issue
Block a user