mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex.git
synced 2026-09-21 16:52:00 -07:00
Got unit tests passing again
This commit is contained in:
@@ -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: '*' }))
|
||||
|
||||
Reference in New Issue
Block a user