@csdwd/ai-teams-server 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2306,7 +2306,7 @@ async function startServer(options = readOptionsFromEnv()) {
|
|
|
2306
2306
|
await server.app.listen({ port: options.port ?? DEFAULT_PORT, host: options.host ?? "0.0.0.0" });
|
|
2307
2307
|
return server;
|
|
2308
2308
|
}
|
|
2309
|
-
var isCli = process.argv[1] === fileURLToPath(import.meta.url);
|
|
2309
|
+
var isCli = process.argv[1] && fs.realpathSync(process.argv[1]) === fileURLToPath(import.meta.url);
|
|
2310
2310
|
if (isCli) {
|
|
2311
2311
|
let getArgValue = function(name) {
|
|
2312
2312
|
const idx = args.indexOf(name);
|
package/package.json
CHANGED