Skip to content

Commit

Permalink
comments o ina
Browse files Browse the repository at this point in the history
  • Loading branch information
yassiommi committed May 29, 2020
1 parent 537b28d commit 45e24b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def temp_main_function():
app.wsgi_app = DebuggedApplication(app.wsgi_app, evalex=True)

# #enabling whitenoise
# app.wsgi_app = WhiteNoise(app.wsgi_app)
# for static_folder in app.config.STATIC_FOLDERS:
# app.wsgi_app.add_files(static_folder)
app.wsgi_app = WhiteNoise(app.wsgi_app)
for static_folder in app.config.STATIC_FOLDERS:
app.wsgi_app.add_files(static_folder)

return app

Expand Down
4 changes: 2 additions & 2 deletions tests/diet_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import requests
import json

# ip = 'https://dailydiet-api.herokuapp.com/'
ip = 'http://127.0.0.1:5000'
ip = 'https://dailydiet-api.herokuapp.com/'
# ip = 'http://127.0.0.1:5000'
class TestDiet(unittest.TestCase):

def test_sevade(self):
Expand Down

0 comments on commit 45e24b2

Please sign in to comment.