Skip to content

Commit

Permalink
see if this fixes cypress issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ndittren committed Feb 21, 2023
1 parent 30f2be8 commit b1e8eed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:head": "cypress run --headless --browser electron",
"cypress:test": "start-server-and-test 'make integrationserver' http-get://localhost:8000 cypress:run",
"cypress:test-headless": "start-server-and-test 'make integrationserver' http-get://localhost:8000 cypress:head"
"cypress:test": "start-server-and-test 'make integrationserver' http://127.0.0.1:8000 cypress:run",
"cypress:test-headless": "start-server-and-test 'make integrationserver' http://127.0.0.1:8000 cypress:head"
},
"devDependencies": {
"axe-core": "^4.1.4",
Expand Down
2 changes: 2 additions & 0 deletions quizcon/settings_shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
'quizcon.main',
]

ALLOWED_HOSTS = ['127.0.0.1', 'localhost']

MIDDLEWARE += [ # noqa
'quizcon.main.middleware.WhoDidItMiddleware'
]
Expand Down

0 comments on commit b1e8eed

Please sign in to comment.