π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Fix dev mode bun ts
Veauville Raphael6d2afe175af7
diff --git a/backend/app.ts b/backend/app.tsindex b99bc513..d31d6b2a 100644--- a/backend/app.ts+++ b/backend/app.ts@@ -28,7 +28,7 @@ export class App {private async handleRoutes() {const directories = readdirSync(join(__dirname, 'routes'));for (const dir of directories) {- const routes = readdirSync(join(__dirname, `routes/${dir}`)).filter(file => file.endsWith('.js'));+ const routes = readdirSync(join(__dirname, `routes/${dir}`)).filter(file => file.endsWith('.js') || file.endsWith('.ts'));for (const file of routes) {const getFile = (await import(join(__dirname, `routes/${dir}/${file}`))).default;const fileInfos = getFile(this) as Iroute;