Add Maple AI support

This commit is contained in:
Alex Gleason committed 2026-01-17 23:22:02 -06:00
1 parent fba950aeb5
commit 0d6bee2025
10 files changed
+415 -17

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ export function ExternalFavicon({
const parsedUrl = new URL(url);
// Strip `ai.` and `api.` subdomains for a better chance at finding a favicon
parsedUrl.hostname = parsedUrl.hostname.replace(/^(ai\.|api\.)/, '');
parsedUrl.hostname = parsedUrl.hostname.replace(/^(ai\.|api\.|enclave\.)/, '');
// Normalize the URL to ensure it has a protocol
return faviconUrl({ template: config.faviconUrl, url: parsedUrl });