formacao
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
// src/adapter/cloudflare-workers/serve-static.ts
|
||||
import { serveStatic as baseServeStatic } from "../../middleware/serve-static/index.js";
|
||||
import { getContentFromKVAsset } from "./utils.js";
|
||||
var serveStatic = (options) => {
|
||||
var serveStatic = (options = {}) => {
|
||||
return async function serveStatic2(c, next) {
|
||||
const getContent = async (path) => {
|
||||
return getContentFromKVAsset(path, {
|
||||
|
||||
Reference in New Issue
Block a user