Skip to content
Snippets Groups Projects
Commit 2ff6d03f authored by Felix Chadwick-Smith's avatar Felix Chadwick-Smith
Browse files

changed hostname to name to fit openshift

parent fbffc3bf
No related branches found
No related tags found
1 merge request!5Master
......@@ -3,7 +3,7 @@ import secrets
from flask import Flask, render_template, request, redirect, url_for, send_from_directory, abort
from flask_sqlalchemy import SQLAlchemy
app = Flask('cmt120_2', static_folder='static')
app = Flask(__name__, static_folder='static')
app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 0
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///site.db'
app.config['SECRET_KEY'] = secrets.token_hex(16)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment