1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-09 23:17:29 +02:00

Update bug report template

This commit is contained in:
Alex Tran
2022-07-16 10:54:00 -05:00
parent 2e61cf3183
commit d8b26c6da8
5 changed files with 16 additions and 15 deletions

View File

@@ -7,11 +7,12 @@ import { ApiTags } from '@nestjs/swagger';
import { ServerPingResponse } from './response-dto/server-ping-response.dto';
import { ServerVersionReponseDto } from './response-dto/server-version-response.dto';
import { ServerInfoResponseDto } from './response-dto/server-info-response.dto';
import { DataSource } from 'typeorm';
@ApiTags('Server Info')
@Controller('server-info')
export class ServerInfoController {
constructor(private readonly serverInfoService: ServerInfoService, private readonly configService: ConfigService) {}
constructor(private readonly serverInfoService: ServerInfoService) {}
@Get()
async getServerInfo(): Promise<ServerInfoResponseDto> {

View File

@@ -1,3 +1,4 @@
import { dataSource } from '@app/database/config/database.config';
import { Logger } from '@nestjs/common';
import { NestFactory } from '@nestjs/core';
import { NestExpressApplication } from '@nestjs/platform-express';
@@ -46,7 +47,6 @@ async function bootstrap() {
customSiteTitle: 'Immich API Documentation',
});
await app.listen(3001, () => {
if (process.env.NODE_ENV == 'development') {
// Generate API Documentation only in development mode