Commit 763f1df3 authored by step21's avatar step21

initial try to detect hostname

parent a12762f5
# encoding=utf-8
from flask import request
DEBUG = True
SQLALCHEMY_DATABASE_URI = "sqlite:///teidb_dev.sqlite"
SQLALCHEMY_TRACK_MODIFICATIONS = True
# "outside of request context :-/"
SERVER_NAME = urlparse(request.host)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment