Link tag not working with rel="manifest"?

2.5k views Asked by At

Following is my code in an HTML page:

<html>
  <head>
    <link rel="manifest" href="{{ STATIC_URL }}manifest.json" />
    <link rel="stylesheet" href="{{ STATIC_URL }}ng-grid.min.css" />
  </head>
</html>

Both manifest.json and ng-grid.min.css are served from the same static folder.

ng-grid.min.css was loaded as soon as the page was rendered but manifest.json file is not loaded.

On inspecting using developer tools I couldn't find a request for manifest.json.

Am I missing something?

1

There are 1 answers

1
Sanjay Kumar N S On

You missed a '/' in the statement.

<link rel="manifest" href="{{ STATIC_URL }}/manifest.json">