fix: eco imports/exports

This commit is contained in:
CosminPerRam 2023-11-25 19:59:40 +02:00
parent 9ab1126ca7
commit 98da8d555f
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import Core from './core.js';
const Core = require('./core');
export default class eco extends Core {
class Eco extends Core {
async run(state) {
if (!this.options.port) this.options.port = 3001;
@ -17,3 +17,5 @@ export default class eco extends Core {
state.raw = serverInfo;
}
}
module.exports = Eco;