Skip to content
This repository has been archived by the owner on Feb 2, 2020. It is now read-only.

Commit

Permalink
BUG use separate endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr committed Jan 29, 2020
1 parent a74e279 commit 66f3059
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def index():
)


@app.route('/report', methods=['GET'])
@app.route('/db', methods=['GET'])
def report():
data = _make_report_data(iso=True)
resp = make_response(jsonify(data))
Expand Down
2 changes: 1 addition & 1 deletion cache_app_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# first pull down the data
latest_data = requests.get(
"https://cf-action-counter.herokuapp.com/report").json()
"https://cf-action-counter.herokuapp.com/db").json()

# run git config
subprocess.run(
Expand Down

0 comments on commit 66f3059

Please sign in to comment.