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
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ DATABASE_URL=postgres://postgres@localhost:5432/integration_proxy
# openssl rand -base64 32 | tr '+/' '-_' | tr -d '=\n'
ENCRYPTION_KEY=

# Where the client address of the per-network key-check limit comes from
# (0.3.0+): `none` (TCP peer), or `heroku`/`rightmost` (the right-most
# X-Forwarded-For entry). localthought.io on Heroku must set `heroku`, or every
# client shares the router's limit.
TRUST_FORWARDED_FOR=none
# Key checks per client network and platform per hour (default 20, 0 = off).
KEY_CHECK_LIMIT_PER_HOUR=20

# Spotify Web API uses PKCE; no client secret is needed. Its authorization
# server advertises only the public "none" client authentication method, so
# that must be set explicitly (the proxy otherwise defaults to
Expand Down
17 changes: 14 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ publish = false
# Published to crates.io from ontola/atomic-plugins' integration-proxy/.
# Bump this (and run `cargo update -p atomic-integration-proxy`) to deploy a
# new release.
atomic-integration-proxy = "=0.2.5"
atomic-integration-proxy = "=0.3.0"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }

[profile.release]
Expand Down
Loading