aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-16 19:59:21 +0200
committerChocobozzz <me@florianbigard.com>2018-05-17 10:55:50 +0200
commit74af5a8361f4ccb460001706ce249d50c747f361 (patch)
tree4e077f14a6c604799b15fdbea98a2d8c8bdc7576 /server.ts
parent6200d8d91710b03a72a27e35cbe6eed1e6cc8c62 (diff)
downloadPeerTube-74af5a8361f4ccb460001706ce249d50c747f361.tar.gz
PeerTube-74af5a8361f4ccb460001706ce249d50c747f361.tar.zst
PeerTube-74af5a8361f4ccb460001706ce249d50c747f361.zip
Client E2E tests first step
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index 8024655a3..bdcbb7988 100644
--- a/server.ts
+++ b/server.ts
@@ -95,7 +95,7 @@ if (isTestInstance()) {
95 req.path.indexOf(STATIC_PATHS.WEBSEED) === -1 95 req.path.indexOf(STATIC_PATHS.WEBSEED) === -1
96 ) { 96 ) {
97 return (cors({ 97 return (cors({
98 origin: 'http://localhost:3000', 98 origin: '*',
99 exposedHeaders: 'Retry-After', 99 exposedHeaders: 'Retry-After',
100 credentials: true 100 credentials: true
101 }))(req, res, next) 101 }))(req, res, next)