Commit Inicial

This commit is contained in:
2026-03-25 09:47:08 -03:00
commit 9636921d99
4064 changed files with 517144 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
// src/adapter/netlify/conninfo.ts
var getConnInfo = (c) => ({
remote: {
address: c.env.context?.ip
}
});
export {
getConnInfo
};
+9
View File
@@ -0,0 +1,9 @@
// src/adapter/netlify/handler.ts
var handle = (app) => {
return (req, context) => {
return app.fetch(req, { context });
};
};
export {
handle
};
+2
View File
@@ -0,0 +1,2 @@
// src/adapter/netlify/index.ts
export * from "./mod.js";
+7
View File
@@ -0,0 +1,7 @@
// src/adapter/netlify/mod.ts
import { handle } from "./handler.js";
import { getConnInfo } from "./conninfo.js";
export {
getConnInfo,
handle
};