@squadbase/vite-server 0.0.1-build-23 → 0.0.1-build-24
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/dist/main.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17709,7 +17709,7 @@ app.get("/:slug", async (c) => {
|
|
|
17709
17709
|
const handler = await loadTypeScriptHandler(ds._tsHandlerPath);
|
|
17710
17710
|
result = await handler(c);
|
|
17711
17711
|
} else {
|
|
17712
|
-
result = await ds.handler({});
|
|
17712
|
+
result = { data: await ds.handler({}) };
|
|
17713
17713
|
}
|
|
17714
17714
|
return buildResponse(c, result, ds.response);
|
|
17715
17715
|
} catch (e) {
|
package/dist/main.js
CHANGED
|
@@ -17447,7 +17447,7 @@ app.get("/:slug", async (c) => {
|
|
|
17447
17447
|
const handler = await loadTypeScriptHandler(ds._tsHandlerPath);
|
|
17448
17448
|
result = await handler(c);
|
|
17449
17449
|
} else {
|
|
17450
|
-
result = await ds.handler({});
|
|
17450
|
+
result = { data: await ds.handler({}) };
|
|
17451
17451
|
}
|
|
17452
17452
|
return buildResponse(c, result, ds.response);
|
|
17453
17453
|
} catch (e) {
|