pwa-builder / PWABuilder-CLI

Node.js tool for App Generation
Other
1.63k stars 142 forks source link

Domain mismach validation error with redirect URLs #272

Closed ghost closed 7 years ago

ghost commented 7 years ago

When the builder uses URL http://pol.dk, it gets redirected to http://politiken.dk

Since the site has no manifest, the builder creates a manifest extracting the start URL from the following metadata within the page:

<meta name="msapplication-starturl" content="http://politiken.dk" />

Then, the following validation error is thrown:

The domain of the hosted site (pol.dk) does not match the domain of the manifest's start_url member (politiken.dk)

ghost commented 7 years ago

As discussed with @boyofgreen, it is OK to have this validation. We should make sure the error message is properly shown in both the CLI and the Generator Web site

rnrneverdies commented 7 years ago

Fixed. It will be available in the next major release.