jeudi 19 janvier 2017

Universal Links on iOS with Ember.js

I have a simple ember.js app, and I would like to support Universal Linking to my native iOS app. I have successfully done this with a simple apache server or node server, but I am new to ember.js.

How would I configure my ember.js app so that it serves a raw json file from the root directory of my site, like:

http://ift.tt/1MO7cb8

The Content-Type of this file needs to be set to application/json as well.
Is there an easy way to do this in ember.js?

I tried just putting the file in my dist folder after building, but that didn't work.




Aucun commentaire:

Enregistrer un commentaire