We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b02d833 commit d519753Copy full SHA for d519753
Backend/API_DOCS.md
@@ -1,6 +1,6 @@
1
# Authentication API Documentation
2
3
-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)
4
5
## Endpoints
6
Backend/config/settings.py
@@ -30,8 +30,8 @@
30
# SECURITY WARNING: don't run with debug turned on in production!
31
DEBUG = os.getenv('DEBUG', 'True') == 'True'
32
33
-# Allow all hosts for development/testing
34
-ALLOWED_HOSTS = ['*']
+# Allowed hosts: localhost for dev, Render for production
+ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'toc-simulator-backend.onrender.com']
35
36
37
# Application definition
0 commit comments