fix: $fresh ref in import sources (#2340)
There was an issue with the tailwind error page being pulled in by ref to $fresh, fixed so now it just uses the file
This commit is contained in:
@@ -44,7 +44,7 @@ import { loadAotSnapshot } from "../build/aot_snapshot.ts";
|
||||
import { ErrorOverlay } from "./error_overlay.tsx";
|
||||
import { withBase } from "./router.ts";
|
||||
import { PARTIAL_SEARCH_PARAM } from "../constants.ts";
|
||||
import TailwindErrorPage from "$fresh/src/server/tailwind_aot_error_page.tsx";
|
||||
import TailwindErrorPage from "./tailwind_aot_error_page.tsx";
|
||||
|
||||
const DEFAULT_CONN_INFO: ServeHandlerInfo = {
|
||||
localAddr: { transport: "tcp", hostname: "localhost", port: 8080 },
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
} from "preact";
|
||||
import { HEAD_CONTEXT } from "../../runtime/head.ts";
|
||||
import { CSP_CONTEXT } from "../../runtime/csp.ts";
|
||||
import { withBase } from "$fresh/src/server/router.ts";
|
||||
import { withBase } from "../router.ts";
|
||||
|
||||
export function renderHtml(state: RenderState) {
|
||||
setRenderState(state);
|
||||
|
||||
Reference in New Issue
Block a user