logging
This commit is contained in:
parent
2ee59c6153
commit
71869cf458
|
|
@ -18,6 +18,7 @@ logger = logging.getLogger(__name__)
|
||||||
SMTP_HOST = "postfix" # MailCow Postfix-Container
|
SMTP_HOST = "postfix" # MailCow Postfix-Container
|
||||||
SMTP_PORT = 25 # Fest auf Port 25 ohne TLS
|
SMTP_PORT = 25 # Fest auf Port 25 ohne TLS
|
||||||
API_TOKEN = os.environ.get('API_TOKEN', 'your-api-token') # Muss mit Lambda übereinstimmen
|
API_TOKEN = os.environ.get('API_TOKEN', 'your-api-token') # Muss mit Lambda übereinstimmen
|
||||||
|
logger.info(f"API_TOKEN: {API_TOKEN}")
|
||||||
|
|
||||||
@app.route('/process/<domain>', methods=['POST'])
|
@app.route('/process/<domain>', methods=['POST'])
|
||||||
def process_email(domain):
|
def process_email(domain):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue