diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-29 16:30:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-29 16:30:01 +0200 |
commit | 34dd7cb4ca4807e61a8c1d584b047c2cb383fe5a (patch) | |
tree | 64126e1a3cda0fb38a7deda59c397e6452eb4624 /server | |
parent | cd4cb177e6e35f69832304366c6f9df96600fb9e (diff) | |
download | PeerTube-34dd7cb4ca4807e61a8c1d584b047c2cb383fe5a.tar.gz PeerTube-34dd7cb4ca4807e61a8c1d584b047c2cb383fe5a.tar.zst PeerTube-34dd7cb4ca4807e61a8c1d584b047c2cb383fe5a.zip |
Fix quota in instance features table
Diffstat (limited to 'server')
-rw-r--r-- | server/controllers/client.ts | 2 | ||||
-rw-r--r-- | server/controllers/static.ts | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/server/controllers/client.ts b/server/controllers/client.ts index 51f610afa..2af00e475 100644 --- a/server/controllers/client.ts +++ b/server/controllers/client.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import * as express from 'express' | 1 | import * as express from 'express' |
2 | import { join } from 'path' | 2 | import { join } from 'path' |
3 | import { root } from '../helpers/core-utils' | 3 | import { root } from '../helpers/core-utils' |
4 | import { ACCEPT_HEADERS, STATIC_MAX_AGE, STATIC_PATHS } from '../initializers/constants' | 4 | import { ACCEPT_HEADERS, STATIC_MAX_AGE } from '../initializers/constants' |
5 | import { asyncMiddleware, embedCSP } from '../middlewares' | 5 | import { asyncMiddleware, embedCSP } from '../middlewares' |
6 | import { buildFileLocale, getCompleteLocale, is18nLocale, LOCALE_FILES } from '../../shared/models/i18n/i18n' | 6 | import { buildFileLocale, getCompleteLocale, is18nLocale, LOCALE_FILES } from '../../shared/models/i18n/i18n' |
7 | import { ClientHtml } from '../lib/client-html' | 7 | import { ClientHtml } from '../lib/client-html' |
diff --git a/server/controllers/static.ts b/server/controllers/static.ts index 4296183a0..110d25031 100644 --- a/server/controllers/static.ts +++ b/server/controllers/static.ts | |||
@@ -1,7 +1,8 @@ | |||
1 | import * as cors from 'cors' | 1 | import * as cors from 'cors' |
2 | import * as express from 'express' | 2 | import * as express from 'express' |
3 | import { | 3 | import { |
4 | HLS_STREAMING_PLAYLIST_DIRECTORY, PEERTUBE_VERSION, | 4 | HLS_STREAMING_PLAYLIST_DIRECTORY, |
5 | PEERTUBE_VERSION, | ||
5 | ROUTE_CACHE_LIFETIME, | 6 | ROUTE_CACHE_LIFETIME, |
6 | STATIC_DOWNLOAD_PATHS, | 7 | STATIC_DOWNLOAD_PATHS, |
7 | STATIC_MAX_AGE, | 8 | STATIC_MAX_AGE, |