Created
October 3, 2015 23:06
-
-
Save aaustin/c9b6af0e3b549dd57e1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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