freestyle-sandboxes 0.0.41 → 0.0.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.
- package/dist/expo/index.cjs +1 -1
- package/dist/expo/index.d.cts +1 -1
- package/dist/expo/index.d.mts +1 -1
- package/dist/expo/index.mjs +1 -1
- package/package.json +1 -1
- package/src/expo/index.ts +1 -1
package/dist/expo/index.cjs
CHANGED
|
@@ -304,7 +304,7 @@ function getRedirectRewriteLocation(request, route) {
|
|
|
304
304
|
const freestyleExpoServer = ({
|
|
305
305
|
CLIENT_BUILD_DIR = path__namespace.join(process__namespace.cwd(), "dist/client"),
|
|
306
306
|
SERVER_BUILD_DIR = path__namespace.join(process__namespace.cwd(), "dist/server")
|
|
307
|
-
}) => {
|
|
307
|
+
} = {}) => {
|
|
308
308
|
const expoHandler = createRequestHandler(SERVER_BUILD_DIR);
|
|
309
309
|
const app = new hono.Hono();
|
|
310
310
|
app.use("*", deno.serveStatic({ root: CLIENT_BUILD_DIR }));
|
package/dist/expo/index.d.cts
CHANGED
package/dist/expo/index.d.mts
CHANGED
package/dist/expo/index.mjs
CHANGED
|
@@ -282,7 +282,7 @@ function getRedirectRewriteLocation(request, route) {
|
|
|
282
282
|
const freestyleExpoServer = ({
|
|
283
283
|
CLIENT_BUILD_DIR = path.join(process.cwd(), "dist/client"),
|
|
284
284
|
SERVER_BUILD_DIR = path.join(process.cwd(), "dist/server")
|
|
285
|
-
}) => {
|
|
285
|
+
} = {}) => {
|
|
286
286
|
const expoHandler = createRequestHandler(SERVER_BUILD_DIR);
|
|
287
287
|
const app = new Hono();
|
|
288
288
|
app.use("*", serveStatic({ root: CLIENT_BUILD_DIR }));
|
package/package.json
CHANGED
package/src/expo/index.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { serveStatic } from "hono/deno";
|
|
|
8
8
|
export const freestyleExpoServer = ({
|
|
9
9
|
CLIENT_BUILD_DIR = path.join(process.cwd(), "dist/client"),
|
|
10
10
|
SERVER_BUILD_DIR = path.join(process.cwd(), "dist/server"),
|
|
11
|
-
}) => {
|
|
11
|
+
} = {}) => {
|
|
12
12
|
// // Expo handler
|
|
13
13
|
const expoHandler = createRequestHandler(SERVER_BUILD_DIR);
|
|
14
14
|
|