diff --git a/api/pkg/config/config.go b/api/pkg/config/config.go index ef2b2f39..7fd5d24c 100644 --- a/api/pkg/config/config.go +++ b/api/pkg/config/config.go @@ -131,8 +131,7 @@ const ( const UseLeasedDedicatedProxy = false // AgoraSearchEnabled toggles Agora Hobby search in the search Lambda. -// Temporarily disabled: agorahobby.com is behind a Cloudflare managed JS challenge. -const AgoraSearchEnabled = false +const AgoraSearchEnabled = true // UseDedicatedProxy reports whether DEDICATED_PROXY_* env vars may be used. // Defaults to enabled when unset or invalid. diff --git a/api/pkg/config/config_test.go b/api/pkg/config/config_test.go index ec8792ca..3aeaa1c6 100644 --- a/api/pkg/config/config_test.go +++ b/api/pkg/config/config_test.go @@ -5,8 +5,8 @@ import ( ) func TestAgoraSearchEnabled(t *testing.T) { - if AgoraSearchEnabled { - t.Fatalf("expected agora search to be temporarily disabled") + if !AgoraSearchEnabled { + t.Fatalf("expected agora search to be enabled") } } diff --git a/frontend/src/constants.js b/frontend/src/constants.js index 9eaf1c71..7f22b402 100644 --- a/frontend/src/constants.js +++ b/frontend/src/constants.js @@ -3,8 +3,7 @@ const AGORA_STORE_NAME = "Agora Hobby"; // Toggle Agora Hobby in the store list and search UI. -// Temporarily disabled: agorahobby.com is behind a Cloudflare managed JS challenge. -export const AGORA_SEARCH_ENABLED = false; +export const AGORA_SEARCH_ENABLED = true; export const PAGE_TITLE = "Gishath Fetch: MTG Price Checker for Singapore's LGS & Online Shops";