Skip to content

Readme Updates with Server Refactor#2

Open
CosmoWorker wants to merge 1 commit intomainfrom
test-review
Open

Readme Updates with Server Refactor#2
CosmoWorker wants to merge 1 commit intomainfrom
test-review

Conversation

@CosmoWorker
Copy link
Owner

Updated readme and made minor changes (logs, etc) within server.

@vercel
Copy link

vercel bot commented Nov 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ai-pr-reviewer Ready Ready Preview Comment Nov 22, 2025 7:54pm

@CosmoWorker CosmoWorker closed this Dec 3, 2025
@CosmoWorker CosmoWorker reopened this Dec 3, 2025
Comment on lines 1 to 5
from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
# from fastapi.middleware.cors import CORSMiddleware
import os
import logging
import requests
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of commenting out the import, remove the line entirely to avoid dead code and keep imports clean.

Comment on lines 10 to 16

load_dotenv()
app = FastAPI()
app.add_middleware(CORSMiddleware)
# app.add_middleware(CORSMiddleware) # not required

logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If CORS middleware is not required, delete the commented line instead of leaving dead code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant