Spaces:
Runtime error
Runtime error
| import { Module } from '@nestjs/common'; | |
| import { ConfigModule } from '@nestjs/config'; | |
| import { ShlinkController } from './shlink.controller'; | |
| import { ShlinkService } from './shlink.service'; | |
| import shlinkConfig from './shlink.config'; | |
| import { ShortUrlCoreModule } from 'src/core/short-url-core/short-url-core.module'; | |
| ({ | |
| imports: [ConfigModule.forFeature(shlinkConfig), ShortUrlCoreModule], | |
| controllers: [ShlinkController], | |
| providers: [ShlinkService], | |
| exports: [ShlinkService], | |
| }) | |
| export class ShlinkModule {} | |