Skip to content

Commit

Permalink
heroku pls
Browse files Browse the repository at this point in the history
  • Loading branch information
xephero committed Mar 20, 2021
1 parent cd84c1d commit 9a82205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from tethercalc import tethercalc, get_last_fight_id, TetherCalcException

app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = os.environ['DATABASE_URL']
app.config['SQLALCHEMY_DATABASE_URI'] = os.environ['DATABASE_URL'].replace('postgres://', 'postgresql://')
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
db = SQLAlchemy(app)

Expand Down

0 comments on commit 9a82205

Please sign in to comment.