diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-16 19:59:21 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-17 10:55:50 +0200 |
commit | 74af5a8361f4ccb460001706ce249d50c747f361 (patch) | |
tree | 4e077f14a6c604799b15fdbea98a2d8c8bdc7576 /server.ts | |
parent | 6200d8d91710b03a72a27e35cbe6eed1e6cc8c62 (diff) | |
download | PeerTube-74af5a8361f4ccb460001706ce249d50c747f361.tar.gz PeerTube-74af5a8361f4ccb460001706ce249d50c747f361.tar.zst PeerTube-74af5a8361f4ccb460001706ce249d50c747f361.zip |
Client E2E tests first step
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |