Skip to content

Commit 6f39365

Browse files
committed
fix: wisp relay authentication
1 parent 591c6c0 commit 6f39365

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/backend/src/modules/internet/WispRelayService.js

+2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ class WispRelayService extends BaseService {
55
const path_ = require('path');
66
const svc_process = this.services.get('process');
77
svc_process.start({
8+
name: 'internet.js',
89
command: this.config.node_path,
910
fullpath: this.config.wisp_relay_path,
1011
args: ['index.js'],
1112
env: {
1213
PORT: this.config.wisp_relay_port,
14+
WISP_AUTH_SERVER: this.config.origin,
1315
},
1416
});
1517
}

src/backend/src/services/WispService.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class WispService extends BaseService {
7676

7777
const event = {
7878
allow: true,
79-
policy: {},
79+
policy: { allow: true },
8080
user: await svc_getUser.get_user({
8181
uuid: decoded.user_uid,
8282
}),

0 commit comments

Comments
 (0)