| import { Injectable } from '@nestjs/common'; |
| import { ConfigService } from '@nestjs/config'; |
| import { ConfigurationType } from './configuration'; |
|
|
| @Injectable() |
| export class AppService { |
| constructor(private readonly configService: ConfigService) {} |
| getHello(): string { |
| return ` |
| <div style="display:flex;justify-content: center;height: 100%;align-items: center;font-size: 30px;"> |
| <div>>> <a href="/dash">WeWe RSS</a> <<</div> |
| </div> |
| `; |
| } |
|
|
| getFeedConfig() { |
| return this.configService.get<ConfigurationType['feed']>('feed')!; |
| } |
| } |
|
|