Skip to content

Commit

Permalink
fix: Correctly emit PWA manifest path
Browse files Browse the repository at this point in the history
  • Loading branch information
ebariche committed Jun 17, 2024
1 parent b82e783 commit cd7dc32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.Wasm.Bootstrap/ShellTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2339,7 +2339,7 @@ private void GeneratePWAContent(StringBuilder extraBuilder)
{
var manifestDocument = JObject.Parse(File.ReadAllText(PWAManifestFile));

extraBuilder.AppendLine($"<link rel=\"manifest\" href=\"{WebAppBasePath}{PWAManifestFile}\" />");
extraBuilder.AppendLine($"<link rel=\"manifest\" href=\"{WebAppBasePath}{Path.GetFileName(PWAManifestFile)}\" />");

// See https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html
extraBuilder.AppendLine($"<meta name=\"apple-mobile-web-app-capable\" content=\"yes\">");
Expand Down

0 comments on commit cd7dc32

Please sign in to comment.