diff --git a/src/lib/link-meta/link-meta.ts b/src/lib/link-meta/link-meta.ts index 7e3fab34..c490fa29 100644 --- a/src/lib/link-meta/link-meta.ts +++ b/src/lib/link-meta/link-meta.ts @@ -92,7 +92,7 @@ export function getLikelyType(url: URL | string): LikelyType { } const ext = url.pathname.split('.').pop() || '' - if (ext === 'html' || ext === 'htm') { + if (ext === 'html' || ext === 'htm' || ext === 'php') { return LikelyType.HTML } const mimeType = EXT_MIME_TYPES[ext]