This commit is contained in:
Aevann1 2021-10-03 22:30:43 +02:00
parent cc53f81be3
commit da36eaed0c
3 changed files with 6 additions and 28 deletions

View file

@ -6,19 +6,10 @@ from sqlalchemy import func
from os import path
import calendar
import matplotlib.pyplot as plt
from flask_mail import Message
site = environ.get("DOMAIN").strip()
site_name = environ.get("SITE_NAME").strip()
@app.route("/mailtest")
def mailtest():
msg = Message(html="<h1>Hello<h1>",
sender="rdrama@rdrama.net",
recipients=["randomname42029@gmail.com"])
mail.send(msg)
return "sex"
@app.get('/rules')
@auth_desired
def static_rules(v):