eddev 2.0.0-beta.204 → 2.0.0-beta.206
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.
|
@@ -72,15 +72,15 @@ export function createVinxiApp(args) {
|
|
|
72
72
|
varies: ["Authorization", "woocommerce-session"],
|
|
73
73
|
},
|
|
74
74
|
},
|
|
75
|
-
"/_data/query/**": {
|
|
76
|
-
//
|
|
77
|
-
//
|
|
78
|
-
//
|
|
79
|
-
//
|
|
80
|
-
//
|
|
81
|
-
//
|
|
75
|
+
// "/_data/query/**": {
|
|
76
|
+
// isr: false,
|
|
77
|
+
// swr: false,
|
|
78
|
+
// cache: {
|
|
79
|
+
// staleMaxAge: 300,
|
|
80
|
+
// maxAge: 300,
|
|
81
|
+
// varies: ["Authorization", "woocommerce-session"],
|
|
82
|
+
// },
|
|
82
83
|
// },
|
|
83
|
-
},
|
|
84
84
|
...args.rpcBases?.reduce((acc, base) => {
|
|
85
85
|
return {
|
|
86
86
|
...acc,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vinxi-codegen.d.ts","sourceRoot":"","sources":["../../../src/node/compiler/vinxi-codegen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAIlD,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,aAAa,GAAG,YAAY,CAAA;IAClC,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC,UAExE;AAED,wBAAsB,eAAe,CAAC,IAAI,EAAE,OAAO,iBAIlD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"vinxi-codegen.d.ts","sourceRoot":"","sources":["../../../src/node/compiler/vinxi-codegen.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAIlD,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,aAAa,GAAG,YAAY,CAAA;IAClC,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC,UAExE;AAED,wBAAsB,eAAe,CAAC,IAAI,EAAE,OAAO,iBAIlD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,aAgrB/C"}
|
|
@@ -281,8 +281,11 @@ export function createVinxiCodegen(opts) {
|
|
|
281
281
|
const url = getRequestURL(event)
|
|
282
282
|
const paramString = getQuery(event).params
|
|
283
283
|
|
|
284
|
+
const req = await getWebRequest(event)
|
|
285
|
+
|
|
284
286
|
console.log('URL', url)
|
|
285
287
|
console.log("Params", getQuery(event))
|
|
288
|
+
console.log("Request", req)
|
|
286
289
|
|
|
287
290
|
let params = {}
|
|
288
291
|
try {
|