refactor: rename figlet app to ascii and update all references

This commit is contained in:
2026-02-26 12:31:10 +01:00
parent 484423f299
commit e1406f427e
455 changed files with 47 additions and 47 deletions

View File

@@ -6,7 +6,7 @@ export const dynamic = 'force-static';
export async function GET() {
try {
const fontsDir = path.join(process.cwd(), 'public/fonts/figlet-fonts');
const fontsDir = path.join(process.cwd(), 'public/fonts/ascii-fonts');
const files = fs.readdirSync(fontsDir);
const fonts = files
@@ -16,7 +16,7 @@ export async function GET() {
return {
name,
fileName: file,
path: `/fonts/figlet-fonts/${file}`,
path: `/fonts/ascii-fonts/${file}`,
};
})
.sort((a, b) => a.name.localeCompare(b.name));