/
opt
/
canhelp
/
node_modules
/
hono
/
dist
/
adapter
/
bun
/
/opt/canhelp/node_modules/hono/dist/adapter/bun
mkdir
upload
Name
Size
Mode
Actions
conninfo.js
655
0644
edit
dl
rm
index.js
447
0644
edit
dl
rm
serve-static.js
747
0644
edit
dl
rm
server.js
124
0644
edit
dl
rm
ssg.js
379
0644
edit
dl
rm
websocket.js
1847
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/hono/dist/adapter/bun/ssg.js
(379B)
// src/adapter/bun/ssg.ts import { toSSG as baseToSSG } from "../../helper/ssg/index.js"; var { write } = Bun; var bunFileSystemModule = { writeFile: async (path, data) => { await write(path, data); }, mkdir: async () => { } }; var toSSG = async (app, options) => { return baseToSSG(app, bunFileSystemModule, options); }; export { bunFileSystemModule, toSSG };
Save
cmd:
run