Make base url configurable

This commit is contained in:
Brandon Sturgeon 2021-02-17 02:18:59 -08:00
parent 5e5f7ccef3
commit 985a539f2f
No known key found for this signature in database
GPG Key ID: 93451558FC64495C

View File

@ -8,7 +8,7 @@ app = Flask(__name__)
transparent = (0, 0, 0, 0)
base_url = "https://avatarservice.cfcservers.org"
base_url = os.getenv("AVATAR_SERVICE_URL")
@app.route("/outline", methods=["POST"])
def outline():