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:
0
apps/.gitkeep
Normal file
0
apps/.gitkeep
Normal file
10
apps/README.md
Normal file
10
apps/README.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# VPN client apps
|
||||
|
||||
Эта папка должна содержать файлы приложений olcbox, которые раздаёт VPN-бот:
|
||||
|
||||
- `Olcbox-1.0.112-android-release.apk`
|
||||
- `Olcbox-1.0.112-ios-unsigned.ipa`
|
||||
|
||||
Файлы копируются в образ через `COPY --from=builder /app/apps /app/apps` в `Dockerfile`.
|
||||
|
||||
Без этих файлов сборка пройдёт, но бот не сможет прикрепить APK/IPA к сообщениям.
|
||||
Reference in New Issue
Block a user