Skip to content

Commit

Permalink
sizes is in shiggy dir now
Browse files Browse the repository at this point in the history
  • Loading branch information
lillithkt committed Sep 15, 2023
1 parent 9c232e0 commit 046898f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
shiggy
node_modules
public/whythefuckwouldyoudownloadthis.zip
public/shiggies.json
public/sizes.json
dist
.env
4 changes: 2 additions & 2 deletions src/pages/api/v3/sizes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { APIRoute } from "astro";
import { PUBLIC_DIR } from "../../../constants";
import { SHIGGY_DIR } from "../../../constants";
import { join } from "path";

export const GET: APIRoute = () => {
return new Response(Bun.file(join(PUBLIC_DIR, "sizes.json")));
return new Response(Bun.file(join(SHIGGY_DIR, "sizes.json")));
};

0 comments on commit 046898f

Please sign in to comment.