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;
|
const { response } = ctx;
|
||||||
response.body = {
|
response.body = {
|
||||||
url,
|
url,
|
||||||
path: nginx?.socketPath
|
path: (nginx?.socketPath ? `/${nginx.socketPath}` : '') + connector.getSubscribeRouter(),
|
||||||
? `/${nginx.socketPath}`
|
|
||||||
: '' + connector.getSubscribeRouter(),
|
|
||||||
};
|
};
|
||||||
return;
|
return;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -238,9 +238,7 @@ export async function startup<ED extends EntityDict & BaseEntityDict, FrontCxt e
|
||||||
const { response } = ctx;
|
const { response } = ctx;
|
||||||
response.body = {
|
response.body = {
|
||||||
url,
|
url,
|
||||||
path: nginx?.socketPath
|
path: (nginx?.socketPath ? `/${nginx.socketPath}`: '') + connector.getSubscribeRouter(),
|
||||||
? `/${nginx.socketPath}`
|
|
||||||
: '' + connector.getSubscribeRouter(),
|
|
||||||
};
|
};
|
||||||
return;
|
return;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue