mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Update docs/scripts/generate-platform-navigation.js
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
This commit is contained in:
parent
de72b2d5be
commit
b5c087f3b5
@ -50,7 +50,7 @@ import { type Platform } from './platform-utils';
|
||||
const PLATFORM_PAGES: { path: string, platforms: Platform[] }[] = [
|
||||
${config.pages.map(page => {
|
||||
const platformsStr = JSON.stringify(page.platforms);
|
||||
return ` { path: '${page.path}', platforms: ${platformsStr} },`;
|
||||
return ` { path: ${JSON.stringify(page.path)}, platforms: ${platformsStr} },`;
|
||||
}).join('\n')}
|
||||
];
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user