Ver código fonte

Merge branch 'master' of http://git.hiwavo.com/Fohow/fohow_api

abiao 4 anos atrás
pai
commit
1fad06d879

+ 4 - 0
go/gopath/src/fohow.com/nginx/ngx_prod_config

@@ -18,6 +18,10 @@ server {
       root /home/www/fohow/api/go/gopath/src/fohow.com/static/api/;
     }
     
+    location =/apple-app-site-association {
+      root /home/www/fohow/api/go/gopath/src/fohow.com/static/api/;
+    }
+
 
     location / {
         proxy_next_upstream off;

+ 5 - 0
go/gopath/src/fohow.com/nginx/ngx_test_config

@@ -21,6 +21,11 @@ server {
       #expires  30d;
     }
 
+    location =/apple-app-site-association {
+          root /home/rails/fohow/api/go/gopath/src/fohow.com/static/tapi/;
+          #expires  30d;
+     }
+
     location =/stcXSY70Qh.txt {
       root /home/rails/fohow/api/go/gopath/src/fohow.com/static/tapi/;
       #expires  30d;

+ 15 - 0
go/gopath/src/fohow.com/static/api/apple-app-site-association

@@ -0,0 +1,15 @@
+{
+    "applinks": {
+        "apps": [],
+        "details": [
+            {
+                "appID": "9JA89QQLNQ.com.apple.wwdc",
+                "paths": [ "/wwdc/news/", "/videos/wwdc/2015/*"]
+            },
+            {
+                "appID": "7M437M38JX.io.fohow.com",
+                "paths": [ "*" ]
+            }
+        ]
+    }
+}

+ 15 - 0
go/gopath/src/fohow.com/static/tapi/apple-app-site-association

@@ -0,0 +1,15 @@
+{
+    "applinks": {
+        "apps": [],
+        "details": [
+            {
+                "appID": "9JA89QQLNQ.com.apple.wwdc",
+                "paths": [ "/wwdc/news/", "/videos/wwdc/2015/*"]
+            },
+            {
+                "appID": "7M437M38JX.io.fohow.com",
+                "paths": [ "*" ]
+            }
+        ]
+    }
+}