mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
* refactored adapters to run test suites * fix bun version for tests * added missing adapter tests and refactored examples to use `bknd.config.ts` where applicable
15 lines
337 B
JavaScript
15 lines
337 B
JavaScript
import { serve } from "bknd/adapter/aws";
|
|
|
|
export const handler = serve({
|
|
// to get local assets, run `npx bknd copy-assets`
|
|
// this is automatically done in `deploy.sh`
|
|
assets: {
|
|
mode: "local",
|
|
root: "./static",
|
|
},
|
|
connection: {
|
|
url: process.env.DB_URL,
|
|
authToken: process.env.DB_TOKEN,
|
|
},
|
|
});
|