Unable to add Firebase Dynamic Links to a project using a custom domain

后端 未结 6 2069
栀梦
栀梦 2021-02-05 01:30

I\'ve created Firebase Dynamic Links in other projects before using the page.link URL prefix (the only option at the time). However that no longer appears to be an option when e

6条回答
  •  礼貌的吻别
    2021-02-05 02:11

    "appAssociation": "AUTO",
    "rewrites": [
      {
        "source": "/page/**",
        "destination": "/index.html"
      },
      {
        "source": "/link/**",
        "dynamicLinks": true
      }
    ]
    

    It works! I guess the error caused by the original config of "source":"**". May be the range is too large? Though doc say "/__/*" have high priority. (https://firebase.google.com/docs/hosting/full-config?authuser=0#hosting_priority_order)

提交回复
热议问题