Files
demo_partsERP/extensions.py
Teddy Middleton-Smith 9ff01b9197 Feat(Security):
a. Update CORS settings
 b. Update session cookie settings
 c. Remove comments that expose project architecture (and that Claude made most of it :P)
2025-01-25 14:31:34 +00:00

14 lines
429 B
Python

from flask import Flask, render_template, jsonify, request, render_template_string, send_from_directory, redirect, url_for, session, current_app
from flask_cors import CORS
from flask_sqlalchemy import SQLAlchemy
from flask_mail import Mail, Message
from flask_wtf.csrf import CSRFProtect
from authlib.integrations.flask_client import OAuth
csrf = CSRFProtect()
# cors = CORS()
db = SQLAlchemy()
mail = Mail()
oauth = OAuth()