Skip to content

Commit

Permalink
Merge pull request #878 from ccnmtl/test-node
Browse files Browse the repository at this point in the history
see if this fixes cypress issues
  • Loading branch information
nikolas authored Feb 21, 2023
2 parents 30f2be8 + 3851733 commit d53099a
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'] # noqa

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

0 comments on commit d53099a

Please sign in to comment.