Click here to Skip to main content
15,899,314 members

Comments by Darshani Jayasekara (Top 1 by date)

Darshani Jayasekara 12-Feb-19 23:49pm View    
I have a .json file without "var". but when I load it as,
<script type="application/json" src="manifest_1.json"></script>

Or
<link rel="manifest" href="manifest_1.json" charset="UTF-8"/>

It is not loading with "application/json" content type, it is loading with "Text/Html". I really need it to load as "application/json", since it is a manifest file. Is there a way to solve this issue?