Skip to content

Commit

Permalink
Fix regression with prefix paths and gatsby-plugin-manifest
Browse files Browse the repository at this point in the history
as per 69ca247#diff-079fdad4111264c646208511aa18a321 manifest.webmanifest should start with /

it just works (tm) when your site is flat, but when your pages are in sub directory and prefixed, its assumes your manifest files are in the subdirectory, not the root of your site (which might be prefixed).

Fixing reversion
  • Loading branch information
halkeye authored May 13, 2018
1 parent ce7a86e commit 490bd9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-manifest/src/gatsby-ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports.onRenderBody = ({ setHeadComponents }, pluginOptions) => {
<link
key={`gatsby-plugin-manifest-link`}
rel="manifest"
href={withPrefix(`manifest.webmanifest`)}
href={withPrefix(`/manifest.webmanifest`)}
/>,
<meta
key={`gatsby-plugin-manifest-meta`}
Expand Down

0 comments on commit 490bd9a

Please sign in to comment.