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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user