gfdf
This commit is contained in:
parent
cc53f81be3
commit
da36eaed0c
3 changed files with 6 additions and 28 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue