📦 deps(thirdparty): update snapshots
This commit is contained in:
@@ -10,7 +10,7 @@ const TEMPLATE_PATH = path.join(DIST_DIR, 'index.html');
|
||||
const SKILLS_PATH = path.join(PUBLIC_DIR, 'skills.json');
|
||||
const SEO_LANDING_PAGES_PATH = path.join(ROOT_DIR, 'src', 'data', 'seoLandingPages.json');
|
||||
|
||||
const HOME_CATALOG_COUNT_FALLBACK = 1894;
|
||||
const HOME_CATALOG_COUNT_FALLBACK = 1898;
|
||||
const PRERENDER_SOCIAL_IMAGE = 'social-card.svg';
|
||||
const SITE_NAME = 'Antigravity Awesome Skills';
|
||||
const REPOSITORY_URL = 'https://github.com/sickn33/antigravity-awesome-skills';
|
||||
@@ -76,7 +76,10 @@ function normalizeRoute(routePath) {
|
||||
function routeToUrl(routePath, siteBaseUrl) {
|
||||
const normalizedRoute = normalizeRoute(routePath);
|
||||
const normalizedBase = siteBaseUrl.replace(/\/+$/, '');
|
||||
return `${normalizedBase}${normalizedRoute}`;
|
||||
const indexableRoute = normalizedRoute === '/' || normalizedRoute.endsWith('/')
|
||||
? normalizedRoute
|
||||
: `${normalizedRoute}/`;
|
||||
return `${normalizedBase}${indexableRoute}`;
|
||||
}
|
||||
|
||||
function routeToFilePath(routePath) {
|
||||
|
||||
Reference in New Issue
Block a user