• This project
    • Loading...
  • Sign in

fe / yohobuywap-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuywap-node
  • apps
  • api
  • controllers
  • apple.js
  • add apple-app-site-association
    8f8cb739
    by ccbikai(👎🏻🍜)
    2017-02-07 16:48:19 +0800  
    Browse Directory »
apple.js 504 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
/**
 * 唤起苹果 app 配置文件
 */

'use strict';
let configFile = `
{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appID": "6U82P566A4.com.yoho.buy",
                "paths": [ "/universal_links/"]
            },
	    {
                "appID": "EX33S4LRW7.com.yoho.buy",
                "paths": [ "*" ]
	    }
        ]
    }
}
`;

const appSiteAssociation = (req, res) => {
    res.send(configFile);
};

module.exports = {
    appSiteAssociation
};