1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Refactor requests

This commit is contained in:
Chocobozzz 2021-07-16 10:42:24 +02:00
parent 08642a765e
commit c0e8b12e7f
No known key found for this signature in database
GPG key ID: 583A612D890159BE
230 changed files with 948 additions and 1064 deletions

View file

@ -1,7 +1,7 @@
import * as cors from 'cors'
import * as express from 'express'
import * as RateLimit from 'express-rate-limit'
import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes'
import { HttpStatusCode } from '../../../shared/models'
import { badRequest } from '../../helpers/express-utils'
import { CONFIG } from '../../initializers/config'
import { abuseRouter } from './abuse'