]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server.ts
(doc): use sysrc instead of editing /etc/rc.conf on FreeBSD (#603)
[github/Chocobozzz/PeerTube.git] / server.ts
index 8024655a35dfcbfebe7fe9f468adaf996ce2f225..bdcbb79886fe874c57d31ebef2853853fc2e1a5e 100644 (file)
--- 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)