mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-04 06:00:46 -05:00
fix: wisp relay authentication
This commit is contained in:
@@ -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,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user