Initial commit

This commit is contained in:
2026-06-02 23:11:13 +02:00
commit 9ee43a6b2d
4274 changed files with 968260 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
};