fix(vpn): восстановление VPN-модуля после затирания chat/push fix'ом

- Добавлена ветка bot.type === 'vpn' в messenger.messages.routes.ts
- Добавлен полный модуль server/vpn/ (routes, service, db, bot, config)
- Подключены VPN-маршруты в server/routes/index.ts
- Добавлена раздача /apps статики и COPY в Dockerfile
- apps/ пока содержит .gitkeep и README; APK/IPA нужно добавить отдельно
This commit is contained in:
2026-07-17 09:32:43 +03:00
parent 0a5f4516ef
commit 586a591773
12 changed files with 985 additions and 58 deletions

View File

@@ -986,6 +986,9 @@ async function runStartupDataPatches() {
const server = await registerRoutes(app);
// Static files for VPN client apps (olcbox APK/IPA)
app.use('/apps', express.static('/app/apps'));
// Seed application roles and permissions
try {
await storage.seedAppRolesAndPermissions();