Skip to content

Commit

Permalink
add whiletrue to dev sites
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Nov 5, 2023
1 parent 966e515 commit 6b1ce26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class BkSearchBar implements OnChanges, AfterViewInit, OnInit {
}
urlParams = params.toString();
const url = '/s/?' + urlParams;
if (hostname !== 'next.obudget.org' && hostname.indexOf('localhost') !== 0) {
if (hostname !== 'next.obudget.org' && hostname.indexOf('localhost') !== 0 && hostname.indexOf('whiletrue') !== 0) {
return 'https://next.obudget.org' + url;
} else {
return url;
Expand Down

0 comments on commit 6b1ce26

Please sign in to comment.