Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Backend/API_DOCS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Authentication API Documentation

Base URL: `http://localhost:8000` (dev) | `https://your-backend.vercel.app` (prod)
Base URL: `http://localhost:8000` (dev) | `https://toc-simulator-backend.onrender.com` (prod)

## Endpoints

Expand Down
4 changes: 2 additions & 2 deletions Backend/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.getenv('DEBUG', 'True') == 'True'

# Allow all hosts for development/testing
ALLOWED_HOSTS = ['*']
# Allowed hosts: localhost for dev, Render for production
ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'toc-simulator-backend.onrender.com']


# Application definition
Expand Down
Loading