mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-26 07:33:48 +01:00
feat: start on embed host
This commit is contained in:
1 parent
a5aad61cb7
commit
abd63b92a8
7 files changed
+30
-16
No files matched your search
@@ -1,12 +1,12 @@
|
||||
---
|
||||
import type { GetStaticPaths } from 'astro';
|
||||
import { configurations } from '../../../../constants/embeds';
|
||||
import { embedConfigurations } from '../../../../constants/embeds';
|
||||
import BaseLayout from '../../../../layouts/BaseLayout.astro';
|
||||
import { Page } from './_index';
|
||||
|
||||
export const getStaticPaths = (() => {
|
||||
return Object.keys(configurations).map((embed) => ({
|
||||
params: { embed: embed as keyof typeof configurations },
|
||||
return Object.keys(embedConfigurations).map((embed) => ({
|
||||
params: { embed: embed as keyof typeof embedConfigurations },
|
||||
}));
|
||||
}) satisfies GetStaticPaths;
|
||||
---
|
||||
|
||||
Reference in new issue
Block a user