fix(navbar): remove ios and mac badge from apps nav link
This commit is contained in:
@@ -25,7 +25,7 @@ function readJsonFile<T>(filePath: string): T | null {
|
||||
}
|
||||
|
||||
export function getSiteConfig(): SiteConfig {
|
||||
if (siteConfigCache) return siteConfigCache;
|
||||
if (siteConfigCache && process.env.NODE_ENV === 'production') return siteConfigCache;
|
||||
const config = readJsonFile<SiteConfig>(path.join(CONTENT_DIR, 'site.config.json'));
|
||||
if (!config) {
|
||||
throw new Error('Crucial site.config.json missing or invalid');
|
||||
|
||||
Reference in New Issue
Block a user