Skip to content

Commit

Permalink
Changing env variables to allow for prod
Browse files Browse the repository at this point in the history
  • Loading branch information
gramcracker40 committed May 1, 2023
1 parent 8c1173d commit f39608b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion UserInterface/api/api.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as Utils from "../js/utilities.js";

const url = "http://127.0.0.1:5000"
const url = "https://greenwatch.azurewebsites.net"
const token = `Bearer ${sessionStorage.getItem('access_token')}`;
let debugMode = false;

Expand Down
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
from dotenv import dotenv_values
config = dotenv_values(".flaskenv")

db_ = config["DATABASE_URI"]
db_ = config["DBHOST"]

# factory pattern
def app(db_url=None):
Expand Down

0 comments on commit f39608b

Please sign in to comment.