mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor: infra folder (#8138)
This commit is contained in:
parent
9fd5d2ad9c
commit
16d0df796c
139 changed files with 968 additions and 1164 deletions
|
|
@ -3,8 +3,7 @@ import { Cron, CronExpression, Interval } from '@nestjs/schedule';
|
|||
import { NextFunction, Request, Response } from 'express';
|
||||
import { readFileSync } from 'node:fs';
|
||||
import { join } from 'node:path';
|
||||
import { ONE_HOUR, WEB_ROOT } from 'src/domain/domain.constant';
|
||||
import { ImmichLogger } from 'src/infra/logger';
|
||||
import { ONE_HOUR, WEB_ROOT } from 'src/constants';
|
||||
import { AuthService } from 'src/services/auth.service';
|
||||
import { DatabaseService } from 'src/services/database.service';
|
||||
import { JobService } from 'src/services/job.service';
|
||||
|
|
@ -12,7 +11,8 @@ import { ServerInfoService } from 'src/services/server-info.service';
|
|||
import { SharedLinkService } from 'src/services/shared-link.service';
|
||||
import { StorageService } from 'src/services/storage.service';
|
||||
import { SystemConfigService } from 'src/services/system-config.service';
|
||||
import { OpenGraphTags } from 'src/utils';
|
||||
import { ImmichLogger } from 'src/utils/logger';
|
||||
import { OpenGraphTags } from 'src/utils/misc';
|
||||
|
||||
const render = (index: string, meta: OpenGraphTags) => {
|
||||
const tags = `
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue