aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/static.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/static.ts b/server/controllers/static.ts
index 679999859..1600068e0 100644
--- a/server/controllers/static.ts
+++ b/server/controllers/static.ts
@@ -8,6 +8,8 @@ import { VideosCaptionCache } from '../lib/cache/videos-caption-cache'
8 8
9const staticRouter = express.Router() 9const staticRouter = express.Router()
10 10
11staticRouter.use(cors())
12
11/* 13/*
12 Cors is very important to let other servers access torrent and video files 14 Cors is very important to let other servers access torrent and video files
13*/ 15*/