diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-19 10:43:53 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-10-24 14:48:24 +0200 |
commit | 9ab330b90decf4edf152ff8e1d2948c065766b2c (patch) | |
tree | 29d924f50f7307e8e828a57ecb9ea78623487ce0 /server.ts | |
parent | 3545e72c686ff1725bbdfd8d16d693e2f4aa75a3 (diff) | |
download | PeerTube-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.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) | |||
240 | app.use('/', miscRouter) | 241 | app.use('/', miscRouter) |
241 | app.use('/', downloadRouter) | 242 | app.use('/', downloadRouter) |
242 | app.use('/', lazyStaticRouter) | 243 | app.use('/', lazyStaticRouter) |
244 | app.use('/', objectStorageProxyRouter) | ||
243 | 245 | ||
244 | // Client files, last valid routes! | 246 | // Client files, last valid routes! |
245 | const cliOptions = cli.opts<{ client: boolean, plugins: boolean }>() | 247 | const cliOptions = cli.opts<{ client: boolean, plugins: boolean }>() |