Implement browser push notifications

This commit is contained in:
2025-09-20 20:13:35 +03:00
Unverified
parent 2f30399607
commit 9a25bdcf62
13 changed files with 590 additions and 6 deletions
+3 -2
View File
@@ -1,7 +1,7 @@
from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
from routes import account, messaging, profile
from routes import account, messaging, profile, push
# Инициализация FastAPI
app = FastAPI(title="PixelChat")
@@ -18,4 +18,5 @@ app.add_middleware(
# Routes
app.include_router(account.router)
app.include_router(messaging.router)
app.include_router(profile.router)
app.include_router(profile.router)
app.include_router(push.router, prefix="/push")