feat: add extension preview page and API for detailed extension information

This commit is contained in:
Linus Rath
2026-04-28 15:55:23 +02:00
parent 1b84547211
commit 0f3b506604
5 changed files with 795 additions and 27 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ import JSZip from 'jszip';
import { MAX_PLUGIN_SIZE, MAX_THEME_SIZE, ALL_PERMISSIONS, ALLOWED_PLUGIN_FILES } from '@/lib/plugin-types';
import { sanitizeThemeCSS, validateThemeCSSSafety } from '@/lib/theme-loader';
const DIRECTORY_URL = process.env.EXTENSION_DIRECTORY_URL || 'http://localhost:3001';
const DIRECTORY_URL = process.env.EXTENSION_DIRECTORY_URL || 'https://extensions.bulwarkmail.org';
/**
* GET /api/admin/marketplace - Search/browse the extension directory