Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions api/pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions api/pkg/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}

Expand Down
3 changes: 1 addition & 2 deletions frontend/src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Loading