X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=server.ts;h=bdcbb79886fe874c57d31ebef2853853fc2e1a5e;hb=8fffe21a7bc96d08b229293d66ddba576e609790;hp=8024655a35dfcbfebe7fe9f468adaf996ce2f225;hpb=f55e5a7bf81c2c27db1514273e3366511aabf4ae;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server.ts b/server.ts index 8024655a3..bdcbb7988 100644 --- a/server.ts +++ b/server.ts @@ -95,7 +95,7 @@ if (isTestInstance()) { req.path.indexOf(STATIC_PATHS.WEBSEED) === -1 ) { return (cors({ - origin: 'http://localhost:3000', + origin: '*', exposedHeaders: 'Retry-After', credentials: true }))(req, res, next)