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
2 changes: 1 addition & 1 deletion src/utils/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from './metadata.schema.ts';
import sortVersions from './sort.ts';

const base = env.METADATA_BASE || 'https://metadata.speedcdnjs.com';
const base = env.METADATA_BASE || 'https://metadata.cdnjs.cloudflare.com';

/**
* Get a list of libraries.
Expand Down
4 changes: 2 additions & 2 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ head_sampling_rate = 1
[env.staging.vars]
DISABLE_LOGGING = true
DISABLE_CACHING = false
METADATA_BASE = ""
METADATA_BASE = "https://metadata-staging.cdnjs.cloudflare.com"
SENTRY_DSN = "" # Will be injected by build pipeline
SENTRY_RELEASE = "" # Will be injected by build pipeline
SENTRY_ENVIRONMENT = "staging"
Expand All @@ -72,7 +72,7 @@ head_sampling_rate = 0.05
[env.production.vars]
DISABLE_LOGGING = true
DISABLE_CACHING = false
METADATA_BASE = ""
METADATA_BASE = "https://metadata.cdnjs.cloudflare.com"
SENTRY_DSN = "" # Will be injected by build pipeline
SENTRY_RELEASE = "" # Will be injected by build pipeline
SENTRY_ENVIRONMENT = "production"