mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
bruh i am ignorant
This commit is contained in:
1 parent
b171ce2011
commit
408417ca68
3 files changed
+18
No files matched your search
+2
@@ -5,6 +5,8 @@ import LegacyRedirect from "../../../../../../layouts/LegacyRedirect.astro";
|
||||
import { getStaticPaths as _getStaticPaths } from "../index.astro";
|
||||
|
||||
export const getStaticPaths = mixStaticPaths(_getStaticPaths, async () => {
|
||||
const tankDefinitions = await api.tankDefinitions();
|
||||
|
||||
return Object.values(tankDefinitions.tanks).map(({ id }) => ({
|
||||
params: { id },
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user