tarsk 0.5.66 → 0.5.67
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
|
@@ -465549,7 +465549,7 @@ async function startTarskServer(options2) {
|
|
|
465549
465549
|
}
|
|
465550
465550
|
async function startTarskServerInternal(options2) {
|
|
465551
465551
|
const { isDebug: isDebug2, publicDir: publicDirOverride } = options2;
|
|
465552
|
-
const initialPort = isDebug2 ? 462 : process.env.PORT ? parseInt(process.env.PORT) : 641;
|
|
465552
|
+
const initialPort = isDebug2 ? 462 : process.env.RENDER === "true" ? 1e4 : process.env.PORT ? parseInt(process.env.PORT) : 641;
|
|
465553
465553
|
const app = new Hono2();
|
|
465554
465554
|
app.use("/*", cors());
|
|
465555
465555
|
app.use("/*", async (c, next) => {
|