- Move backend/frontend/messenger/ old paths to _archive/ - Reorganize scripts into scripts/deploy, check, push, setup, misc - Move docs (pptx, docx) to docs/ - Add .claude agents and skills for fullstack/folder-cleanup harness - workspace/ projects remain intact Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
481 B
Python
19 lines
481 B
Python
from fastapi import FastAPI
|
|
from fastapi.responses import FileResponse
|
|
from fastapi.staticfiles import StaticFiles
|
|
|
|
from routers import messages, webhook, ws_relay
|
|
|
|
app = FastAPI(title="GUARDiA Messenger", version="1.0.0")
|
|
|
|
app.include_router(webhook.router)
|
|
app.include_router(messages.router)
|
|
app.include_router(ws_relay.router)
|
|
|
|
app.mount("/static", StaticFiles(directory="static"), name="static")
|
|
|
|
|
|
@app.get("/")
|
|
async def index():
|
|
return FileResponse("static/index.html")
|