Arno Kaimbacher
296c8fd46e
Some checks failed
CI Pipeline / japa-tests (push) Failing after 1m13s
- renamed middleware Role and Can to role_middleware and can_middleware - added some typing for inertia vue3 components - npm updates
13 lines
364 B
TypeScript
13 lines
364 B
TypeScript
// import app from './app.js';
|
|
import DriveManager from "#providers/drive/src/drive_manager";
|
|
import app from "@adonisjs/core/services/app";
|
|
|
|
let drive: DriveManager;
|
|
/**
|
|
* Returns a singleton instance of the router class from
|
|
* the container
|
|
*/
|
|
await app.booted(async () => {
|
|
drive = await app.container.make(DriveManager);
|
|
});
|
|
export { drive as default }; |