fix: wisp relay authentication

This commit is contained in:
KernelDeimos
2025-01-22 14:20:53 -05:00
parent 591c6c0fd3
commit 6f39365b24
2 changed files with 3 additions and 1 deletions
@@ -5,11 +5,13 @@ class WispRelayService extends BaseService {
const path_ = require('path');
const svc_process = this.services.get('process');
svc_process.start({
name: 'internet.js',
command: this.config.node_path,
fullpath: this.config.wisp_relay_path,
args: ['index.js'],
env: {
PORT: this.config.wisp_relay_port,
WISP_AUTH_SERVER: this.config.origin,
},
});
}
+1 -1
View File
@@ -76,7 +76,7 @@ class WispService extends BaseService {
const event = {
allow: true,
policy: {},
policy: { allow: true },
user: await svc_getUser.get_user({
uuid: decoded.user_uid,
}),