diff options
Diffstat (limited to 'server/controllers/client.ts')
-rw-r--r-- | server/controllers/client.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/controllers/client.ts b/server/controllers/client.ts index 8c7f881a9..7c80820f4 100644 --- a/server/controllers/client.ts +++ b/server/controllers/client.ts | |||
@@ -1,13 +1,13 @@ | |||
1 | import { constants, promises as fs } from 'fs' | ||
2 | import * as express from 'express' | 1 | import * as express from 'express' |
2 | import { constants, promises as fs } from 'fs' | ||
3 | import { join } from 'path' | 3 | import { join } from 'path' |
4 | import { CONFIG } from '@server/initializers/config' | ||
5 | import { buildFileLocale, getCompleteLocale, is18nLocale, LOCALE_FILES } from '@shared/core-utils/i18n' | ||
4 | import { root } from '../helpers/core-utils' | 6 | import { root } from '../helpers/core-utils' |
7 | import { logger } from '../helpers/logger' | ||
5 | import { ACCEPT_HEADERS, STATIC_MAX_AGE } from '../initializers/constants' | 8 | import { ACCEPT_HEADERS, STATIC_MAX_AGE } from '../initializers/constants' |
6 | import { asyncMiddleware, embedCSP } from '../middlewares' | ||
7 | import { buildFileLocale, getCompleteLocale, is18nLocale, LOCALE_FILES } from '../../shared/models/i18n/i18n' | ||
8 | import { ClientHtml } from '../lib/client-html' | 9 | import { ClientHtml } from '../lib/client-html' |
9 | import { logger } from '../helpers/logger' | 10 | import { asyncMiddleware, embedCSP } from '../middlewares' |
10 | import { CONFIG } from '@server/initializers/config' | ||
11 | 11 | ||
12 | const clientsRouter = express.Router() | 12 | const clientsRouter = express.Router() |
13 | 13 | ||