Should the manifest file of a hosted Firefox OS app live on the same domain?

StackOverflow https://stackoverflow.com/questions/22095951

  •  18-10-2022
  •  | 
  •  

سؤال

Should the manifest file of a hosted Firefox OS app live on the same domain? I'd like to put it on a CDN together with the rest of the static files.

هل كانت مفيدة؟

المحلول

Yes it should be served from the same origin. That is part of the security model of hosted apps and it is there to prevent abuse of your app. Take a look at manifest page on MDN:

... the paths must be served from the same origin as the app

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top