mirror of
https://github.com/hex248/fonts.git
synced 2026-02-07 18:23:06 +00:00
app.on("HEAD"
This commit is contained in:
@@ -226,7 +226,7 @@ const serveFontFile = async (c: Context) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
app.get("/fonts/*", serveFontFile);
|
app.get("/fonts/*", serveFontFile);
|
||||||
app.head("/fonts/*", serveFontFile);
|
app.on("HEAD", "/fonts/*", serveFontFile);
|
||||||
app.use("/*", serveStatic({ root: "./public" }));
|
app.use("/*", serveStatic({ root: "./public" }));
|
||||||
|
|
||||||
const cssRoutes = async () => {
|
const cssRoutes = async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user