mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
Update bug report template
This commit is contained in:
parent
2e61cf3183
commit
d8b26c6da8
5 changed files with 16 additions and 15 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { PostgresConnectionOptions } from 'typeorm/driver/postgres/PostgresConnectionOptions';
|
||||
import {DataSource} from "typeorm";
|
||||
import { DataSource } from 'typeorm';
|
||||
|
||||
export const databaseConfig: PostgresConnectionOptions = {
|
||||
type: 'postgres',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue