mirror of
https://github.com/sergeyyarkov/educt-server.git
synced 2026-10-11 02:09:07 +03:00
18 lines
356 B
TypeScript
18 lines
356 B
TypeScript
import { ApplicationContract } from '@ioc:Adonis/Core/Application';
|
|
|
|
export default class AppProvider {
|
|
constructor(protected app: ApplicationContract) {}
|
|
|
|
public register() {}
|
|
|
|
public async boot() {}
|
|
|
|
public async ready() {
|
|
if (this.app.environment === 'web') {
|
|
await import('../start/socket');
|
|
}
|
|
}
|
|
|
|
public async shutdown() {}
|
|
}
|