@hyperframes/producer 0.9.98 → 0.9.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/distributed.js
CHANGED
|
@@ -385,6 +385,7 @@ import { fromEmptyFolder } from "@hyperframes/parsers/ff-binaries";
|
|
|
385
385
|
import { randomUUID as randomUUID3 } from "crypto";
|
|
386
386
|
|
|
387
387
|
// src/services/fileServer.ts
|
|
388
|
+
import { referencedFontResponse } from "@hyperframes/share/referencedFont.mjs";
|
|
388
389
|
import { Hono } from "hono";
|
|
389
390
|
import { serve } from "@hono/node-server";
|
|
390
391
|
import {
|
|
@@ -1093,6 +1094,8 @@ function createFileServer(options) {
|
|
|
1093
1094
|
if (file) break;
|
|
1094
1095
|
}
|
|
1095
1096
|
if (!file) {
|
|
1097
|
+
const font = await referencedFontResponse(projectDir, new URL(c.req.url), c.req.raw.method);
|
|
1098
|
+
if (font) return font;
|
|
1096
1099
|
if (!/favicon\.ico$/i.test(requestPath)) {
|
|
1097
1100
|
console.warn(`[FileServer] 404 Not Found: ${terminalText2(boundedPageText(requestPath))}`);
|
|
1098
1101
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "0.1.0",
|
|
3
3
|
"buildId": "dev",
|
|
4
|
-
"sha256": "
|
|
4
|
+
"sha256": "42385bb89dcd0cb34d9b3a60cc195da961d989c904f7bc483a3186f6da01ee43",
|
|
5
5
|
"artifacts": {
|
|
6
6
|
"iife": "hyperframe.runtime.iife.js",
|
|
7
7
|
"esm": "hyperframe.runtime.mjs"
|