Skip to content

Commit

Permalink
fix: wrong file dynamicaly imported
Browse files Browse the repository at this point in the history
This may have been missed in db116d1
  • Loading branch information
bavoco authored Feb 13, 2024
1 parent 7c4808c commit d92ff39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ export class Application<AS extends State = Record<string, any>>
if (!DefaultServerCtor) {
const { Server } = await (isNode()
? import("./http_server_node.ts")
: import("./http_server_node.ts"));
: import("./http_server_native.ts"));

Check warning on line 633 in application.ts

View check run for this annotation

Codecov / codecov/patch

application.ts#L633

Added line #L633 was not covered by tests
DefaultServerCtor = Server as ServerConstructor<ServerRequest>;
}
this.#serverConstructor = DefaultServerCtor;
Expand Down

0 comments on commit d92ff39

Please sign in to comment.