rairo commited on
Commit
c33c776
·
verified ·
1 Parent(s): a4c03d2

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +6 -5
main.py CHANGED
@@ -33,11 +33,12 @@ from google.genai import types
33
  # 1) CONFIG & INIT
34
  # -----------------------------------------------------------------------------
35
  app = Flask(__name__)
36
- CORS(app, resources={r"/*": {
37
- "origins": "*",
38
- "allow_headers": ["Content-Type", "X-Reddit-User", "X-Reddit-Id"],
39
- "methods": ["GET", "POST", "OPTIONS"]
40
- }})
 
41
 
42
  # --- Firebase ---
43
  try:
 
33
  # 1) CONFIG & INIT
34
  # -----------------------------------------------------------------------------
35
  app = Flask(__name__)
36
+ CORS(app,
37
+ resources={r"/*": {"origins": "*"}},
38
+ supports_credentials=False,
39
+ methods=["GET", "POST", "OPTIONS"],
40
+ allow_headers=["Content-Type", "X-Reddit-User", "X-Reddit-Id"])
41
+
42
 
43
  # --- Firebase ---
44
  try: