fix: update dependency recommendations (#2320)
closes https://github.com/denoland/fresh/issues/2319 The issue is because `imports.ts` wasn't changed before releasing. I thought I would go through and bump some other versions as well. This handles everything except the esbuild stuff and `tests/`.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { contentType, extname, SEP, STATUS_CODE } from "./deps.ts";
|
||||
import { contentType, extname, SEPARATOR, STATUS_CODE } from "./deps.ts";
|
||||
import * as router from "./router.ts";
|
||||
import { FreshConfig, FreshContext, Manifest } from "./mod.ts";
|
||||
import {
|
||||
@@ -353,7 +353,7 @@ export class ServerContext {
|
||||
const { localUrl, path, size, contentType, etag } of this.#extractResult
|
||||
.staticFiles
|
||||
) {
|
||||
staticRoutes[path.replaceAll(SEP, "/")] = {
|
||||
staticRoutes[path.replaceAll(SEPARATOR, "/")] = {
|
||||
baseRoute: toBaseRoute(path),
|
||||
methods: {
|
||||
"HEAD": this.#staticFileHandler(
|
||||
|
||||
Reference in New Issue
Block a user