aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-10-19 10:43:53 +0200
committerChocobozzz <chocobozzz@cpy.re>2022-10-24 14:48:24 +0200
commit9ab330b90decf4edf152ff8e1d2948c065766b2c (patch)
tree29d924f50f7307e8e828a57ecb9ea78623487ce0 /server.ts
parent3545e72c686ff1725bbdfd8d16d693e2f4aa75a3 (diff)
downloadPeerTube-9ab330b90decf4edf152ff8e1d2948c065766b2c.tar.gz
PeerTube-9ab330b90decf4edf152ff8e1d2948c065766b2c.tar.zst
PeerTube-9ab330b90decf4edf152ff8e1d2948c065766b2c.zip
Use private ACL for private videos in s3
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server.ts b/server.ts
index a29b5e408..dd595e951 100644
--- a/server.ts
+++ b/server.ts
@@ -107,6 +107,7 @@ import {
107 wellKnownRouter, 107 wellKnownRouter,
108 lazyStaticRouter, 108 lazyStaticRouter,
109 servicesRouter, 109 servicesRouter,
110 objectStorageProxyRouter,
110 pluginsRouter, 111 pluginsRouter,
111 webfingerRouter, 112 webfingerRouter,
112 trackerRouter, 113 trackerRouter,
@@ -240,6 +241,7 @@ app.use('/', wellKnownRouter)
240app.use('/', miscRouter) 241app.use('/', miscRouter)
241app.use('/', downloadRouter) 242app.use('/', downloadRouter)
242app.use('/', lazyStaticRouter) 243app.use('/', lazyStaticRouter)
244app.use('/', objectStorageProxyRouter)
243 245
244// Client files, last valid routes! 246// Client files, last valid routes!
245const cliOptions = cli.opts<{ client: boolean, plugins: boolean }>() 247const cliOptions = cli.opts<{ client: boolean, plugins: boolean }>()