Skip to content

Commit

Permalink
Slightly clean it up
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Oct 19, 2024
1 parent aede572 commit e28eb10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bun.js/api/server.zig
Original file line number Diff line number Diff line change
Expand Up @@ -7189,13 +7189,13 @@ pub fn NewServer(comptime NamespaceType: type, comptime ssl_enabled_: bool, comp
}
app.domain(sni_servername);

// Ensure the routes are set for that domain name.
this.setRoutes();

if (throwSSLErrorIfNecessary(globalThis)) {
this.deinit();
return;
}

// Ensure the routes are set for that domain name.
this.setRoutes();
}
}
}
Expand Down

0 comments on commit e28eb10

Please sign in to comment.