@fudrouter/fsrouter 0.6.41 → 0.6.42

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.
Files changed (2) hide show
  1. package/bin/cli.cjs +2 -1
  2. package/package.json +1 -1
package/bin/cli.cjs CHANGED
@@ -521,7 +521,8 @@ function startServer(latestVersion) {
521
521
  tsxImport = "tsx";
522
522
  }
523
523
  }
524
- const child = spawn(RUNTIME, ["--import", tsxImport, "--max-old-space-size=6144", serverPath], {
524
+ const entrypoint = process.platform === "win32" ? pathToFileURL(serverPath).href : serverPath;
525
+ const child = spawn(RUNTIME, ["--import", tsxImport, "--max-old-space-size=6144", entrypoint], {
525
526
  cwd: standaloneDir,
526
527
  stdio: showLog ? "inherit" : ["ignore", "ignore", "pipe"],
527
528
  detached: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fudrouter/fsrouter",
3
- "version": "0.6.41",
3
+ "version": "0.6.42",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "9Router v2 \u2014 Express Backend (API, SSE, DB, Auth, MITM)",