-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem adding manifest link in header #75
Comments
Are you doing this in |
Yes, I do it in |
Tags are in the markup returned from the server (you can see it with "View Page Source" on chrome) but disappear when inspected with chrome dev tools. Strange but it looks for meteor or chrome dev tools issue. |
You're right. |
I'm getting a strange behavior too on using:
In the console, it reads: Then I open up So far I have no idea why I'm not able to load the manifest.json, I just started learning meteor last week. Am i missing out something? |
The package manuelschoebel:ms-seo is messing with this. I found in my own project it is removing the link from the header before the browser gets it. |
I'm not using this package but just had similar, if not the same, issue where |
The solution here is to add the manifest details to the default config for the package. // set default config for SEO package
return SEO.config({
title: "",
meta: {
title: "",
description:
"",
site_name: "",
viewport: "",
},
og: {
title: "",
site_name: "",
},
link: [
{
home: "",
},
{
rel: "manifest", href: "/manifest.webmanifest"
},
]
}); |
This is probably because of some module used, but hopefully someone can help me out.
I am making a web app and I need to link in a manifest file.
On a vanilla meteor I can do:
When I do the same however on a fresh meteor-starter, for some reason the
meta name="mobile-web-app-capable"
and thelink rel="manifest"
are removed from the<head>
section.When I add a
link rel="icon"
however, it is not removed, which is the expected behavior.So what makes those head tags disappear? Should I set somewhere what head tags are whitelisted?
Right now I use this workaround, but it is ugly:
The text was updated successfully, but these errors were encountered: