Open jsms90 opened 7 years ago
url.includes('/search') is not the best idea
url.includes('/search')
If your app gets bigger, you may have base_url/search?.... and base_url/somethingelse/search?...
base_url/search?....
base_url/somethingelse/search?...
url.includes('/search')
is not the best ideaIf your app gets bigger, you may have
base_url/search?....
andbase_url/somethingelse/search?...