Redirects on firebase with “?” query parametres

拥有回忆 提交于 2021-02-07 12:18:25

问题


I'm trying to set up redirects domains that contain query parameters. However no mather what i do every url with query parametres are ignored.

Here is an example:

  "redirects": [{
          "source" : "/kunstner.php\\?artist_id=10175",
          "destination" : "https://listen.no/?artist=10010",
          "type" : 301
  },
  {
          "source" : "/kunstner.php\\?artist_id=12194",
          "destination" : "https://listen.no/?artist=11998",
          "type" : 301
  }
]

These work if i run firebase serve and try them locally, however not when i deploy it to firebase.

来源:https://stackoverflow.com/questions/34981581/redirects-on-firebase-with-query-parametres

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!