fix socket path
This commit is contained in:
parent
a8d4e25e9c
commit
d48254f9e0
|
|
@ -179,9 +179,7 @@ async function startup(path, connector, omitWatchers, omitTimers, routine) {
|
|||
const { response } = ctx;
|
||||
response.body = {
|
||||
url,
|
||||
path: nginx?.socketPath
|
||||
? `/${nginx.socketPath}`
|
||||
: '' + connector.getSubscribeRouter(),
|
||||
path: (nginx?.socketPath ? `/${nginx.socketPath}` : '') + connector.getSubscribeRouter(),
|
||||
};
|
||||
return;
|
||||
});
|
||||
|
|
|
|||
|
|
@ -238,9 +238,7 @@ export async function startup<ED extends EntityDict & BaseEntityDict, FrontCxt e
|
|||
const { response } = ctx;
|
||||
response.body = {
|
||||
url,
|
||||
path: nginx?.socketPath
|
||||
? `/${nginx.socketPath}`
|
||||
: '' + connector.getSubscribeRouter(),
|
||||
path: (nginx?.socketPath ? `/${nginx.socketPath}`: '') + connector.getSubscribeRouter(),
|
||||
};
|
||||
return;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue