Skip to content
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

Need a way to configure WebManifestRoute constant. #15

Open
cyrus-za opened this issue Jan 11, 2018 · 1 comment
Open

Need a way to configure WebManifestRoute constant. #15

cyrus-za opened this issue Jan 11, 2018 · 1 comment

Comments

@cyrus-za
Copy link

cyrus-za commented Jan 11, 2018

I saw in the source code that the route where the browser asks for the web manifest is configured on the WebManifestRoute constant. How do I modify it? My intellisense doesn't show any option when creasting a new PwaOptions object.

PS. Pretty new to the dotnet core side of things. Haven't used MS stack in 5 years.

This is needed due to hosting on IIS on a different base route such as domain.com/AppName

@cyrus-za
Copy link
Author

Update: For now I have managed to hack it by setting "registerWebmanifest": false inside appsettings.json and then adding the head manually to my layout.cshtml with

<link rel="manifest" href="~/manifest.webmanifest">

This seems to work, but it is not ideal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant