Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
well let's see if this works
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyjbowers committed Sep 28, 2017
1 parent 082d0cd commit 22b6742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twilio_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def persist_file(filename, uploaded_file):
bucket = client.get_bucket('int.nyt.com')
blob = bucket.blob(filename)
blob.upload_from_string(uploaded_file.read(), content_type="image/png")
return blob.public_url.replace('apps%2Fshazongress%2F', 'apps/shazongress/')
return blob.public_url.replace('applications%2Ffaces%2F', 'applications/faces/').replace('storage.googleapis.com/', '')

if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000, debug=True)

0 comments on commit 22b6742

Please sign in to comment.