pinafore/routes/_database/database.workerize.js
2018-08-31 09:12:48 -07:00

4 lines
130 B
JavaScript

// workerize version, used in production
const database = process.browser && require('./databaseWorker.js')()
export { database }