Skip to content

Commit

Permalink
fix: wrong file dynamicaly imported (#638)
Browse files Browse the repository at this point in the history
Missed in db116d1
  • Loading branch information
bavoco authored Feb 13, 2024
1 parent 172d7a2 commit 174ba2c
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"));
DefaultServerCtor = Server as ServerConstructor<ServerRequest>;
}
this.#serverConstructor = DefaultServerCtor;
Expand Down

0 comments on commit 174ba2c

Please sign in to comment.