refactor: server-info (#2038)

This commit is contained in:
Jason Rasmussen
2023-03-21 22:49:19 -04:00
committed by GitHub
parent e10bbfa933
commit b9bc621e2a
43 changed files with 632 additions and 420 deletions

View File

@@ -1,7 +1,5 @@
import { BadRequestException } from '@nestjs/common';
export * from './upload_location.constant';
export const MACHINE_LEARNING_URL = process.env.IMMICH_MACHINE_LEARNING_URL || 'http://immich-machine-learning:3003';
export const MACHINE_LEARNING_ENABLED = MACHINE_LEARNING_URL !== 'false';

View File

@@ -1 +0,0 @@
export const APP_UPLOAD_LOCATION = './upload';