Got unit tests passing again

This commit is contained in:
Chris Troutner
2021-08-08 08:09:48 -07:00
parent 0346898501
commit 758de6b088
7 changed files with 21 additions and 13 deletions
+2
View File
@@ -57,6 +57,8 @@ async function startServer () {
const controllers = new Controllers()
await controllers.attachControllers(app)
app.controllers = controllers
// Enable CORS for testing
// THIS IS A SECURITY RISK. COMMENT OUT FOR PRODUCTION
app.use(cors({ origin: '*' }))