The declarativeNetRequest rule I set
[
{
"action": {
"redirect": {
"url": "https://another.com/api_2/luckyDog"
},
"type": "redirect"
},
"condition": {
"requestMethods": ["get"],
"urlFilter": "/luckyDog"
},
"id": 1
}
]
When
http://current.com/api/luckyDog
is requested, it was redirected tohttps://another.com/api_2/luckyDog
. This is right.However when I request
http://current.com/api/luckyDog?count=3
, it was redirected tohttps://another.com/api_2/luckyDog
too. I expect it to be redirected tohttps://another.com/api_2/luckyDog?count=3
.
I don't know how to do that. Can someone help me ?