Skip to content

Instantly share code, notes, and snippets.

@aaustin
Created October 3, 2015 23:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaustin/c9b6af0e3b549dd57e1e to your computer and use it in GitHub Desktop.
Save aaustin/c9b6af0e3b549dd57e1e to your computer and use it in GitHub Desktop.
var assetlinks = fs.readFileSync(__dirname + '/static/assetlinks.json');
app.get('/.well-known/assetlinks.json', function(req, res, next) {
res.set('Content-Type', 'application/json');
res.status(200).send(assetlinks);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment