fix(testkit): macOS compat + fix test 8c ordering (#24)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import app from "./app";
|
||||
import { rootLogger } from "./lib/logger.js";
|
||||
|
||||
const rawPort = process.env["PORT"];
|
||||
|
||||
@@ -15,9 +16,9 @@ if (Number.isNaN(port) || port <= 0) {
|
||||
}
|
||||
|
||||
app.listen(port, () => {
|
||||
console.log(`Server listening on port ${port}`);
|
||||
rootLogger.info("server started", { port });
|
||||
const domain = process.env["REPLIT_DEV_DOMAIN"];
|
||||
if (domain) {
|
||||
console.log(`Public UI: https://${domain}/api/ui`);
|
||||
rootLogger.info("public url", { url: `https://${domain}/api/ui` });
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user