feat: Add code block highlighting Theme is configurable
1 file changed, 9 insertions(+), 5 deletions(-)
changed files
M src/index.js → src/index.js
@@ -11,8 +11,12 @@ } const app = require("./app.js"); -module.exports = app; - -app.listen(PORT, () => { - console.log(`App listening on port ${PORT}`); -}); +(async function() { + try { + (await app()).listen(PORT, () => { + console.log(`App listening on port ${PORT}`); + }); + } catch (error) { + console.error("App startup error", error); + } +})();