mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
fix: Use module.exports instead of export default
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// it's yet to be decided whether to keep it or not
|
||||
import domainMiddleware from 'domain-middleware';
|
||||
|
||||
export default function implementDomainMiddleware (server, mongoose) {
|
||||
module.exports = function implementDomainMiddleware (server, mongoose) {
|
||||
return domainMiddleware({
|
||||
server: {
|
||||
close () {
|
||||
@@ -13,4 +13,4 @@ export default function implementDomainMiddleware (server, mongoose) {
|
||||
},
|
||||
killTimeout: 10000,
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user