I have completed the development of a web application, everything works as intended when launched in localhost ( manifest and service worker included).
I am in the process of deploying the application using azure’s app service for students.
the core functionalities of the application are correctly deployed (connection to database, page navigations user interaction etc.)
unfortunately the manifest file is not loaded correctly, and this error is logged in the dev tool’s console:
“GET https://basketballlearningplatform.azurewebsites.net/manifest.json 404 (Not Found)”
so far coding wise I have have:
- double checked that the manifest file is correctly linked in the layout.ejs head:
<link rel="manifest" href="/manifest.json">
- made sure that the public folder is correctly served in the app.js:
app.use(express.static("./public"));
NOTE: I don’t think there is anything wrong with the implementation itself otherwise it wouldn’t work in localhost either (correct me if I’m wrong)
Additionally I have checked that:
- the manifest files is present in the azure vscode extension:
files in azure vscode extension
- the manifest file is present in the KUDU debug console through the azure portal:
files in kudu debug console
thanks in advance to anyone that has the solution to this!
riccardo barone is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1