We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 976055f commit b82b64aCopy full SHA for b82b64a
platform/src/components/base/base-site.ts
@@ -54,9 +54,11 @@ export interface BaseSiteFileOptions {
54
}
55
56
export function getContentType(filename: string, textEncoding: string) {
57
- const ext = filename.endsWith(".well-known/site-association-json")
58
- ? ".json"
59
- : path.extname(filename);
+ const ext =
+ filename.endsWith(".well-known/site-association-json") ||
+ filename.endsWith(".well-known/apple-app-site-association")
60
+ ? ".json"
61
+ : path.extname(filename);
62
const extensions = {
63
[".txt"]: { mime: "text/plain", isText: true },
64
[".htm"]: { mime: "text/html", isText: true },
0 commit comments