2

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?

Penny Liu
  • 15,447
  • 5
  • 79
  • 98
jithin
  • 1,412
  • 2
  • 17
  • 27
  • I believe manifest.json gets refreshed once a day in theory. I'm currently trying to work out why mine never seems to get refreshed once a PWA has been installed. – Mark Adamson Jan 31 '22 at 11:01
  • I have exactly the same problem. Can you let me know it was resolved? – Akash Gorai Mar 05 '22 at 13:33

1 Answers1

0

You missed a '/' in the statement.

<link rel="manifest" href="{{ STATIC_URL }}/manifest.json">
Penny Liu
  • 15,447
  • 5
  • 79
  • 98
Sanjay Kumar N S
  • 4,653
  • 4
  • 23
  • 38
  • Sorry that was a mistake in the question.Its modified now.'/' is infact included in STATIC_URL. – jithin Jun 11 '15 at 07:35