Skip to content

Commit 0d64f07

Browse files
committed
docs: stop documenting KNAPSACK_PRO_MODE
1 parent cdc1529 commit 0d64f07

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

_posts/2017-07-17-when-distributed-locks-might-be-helpful-in-ruby-on-rails-application.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ require 'rspec'
8585
node_total = 5
8686

8787
# use development API
88-
ENV['KNAPSACK_PRO_MODE'] = 'development'
88+
ENV['KNAPSACK_PRO_ENDPOINT'] = 'http://api.knapsackpro.localhost:3000'
8989
ENV['KNAPSACK_PRO_TEST_SUITE_TOKEN'] = '333e7b8d1b64fd6447df34a77e3662eb'
9090
ENV['KNAPSACK_PRO_LOG_LEVEL'] = 'warn'
9191

docusaurus/docs/ruby/reference.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -206,16 +206,6 @@ Default:
206206

207207
Available: number
208208

209-
## `KNAPSACK_PRO_MODE` (Internal)
210-
211-
Default: `production`
212-
213-
Available:
214-
215-
- `production` sets `KNAPSACK_PRO_ENDPOINT` to `https://api.knapsackpro.com`
216-
- `development` sets `KNAPSACK_PRO_ENDPOINT` to `http://api.knapsackpro.test:3000`
217-
- `test` sets `KNAPSACK_PRO_ENDPOINT` to `https://api-staging.knapsackpro.com`
218-
219209
## `KNAPSACK_PRO_MODIFY_DEFAULT_RSPEC_FORMATTERS` (Removed, RSpec)
220210

221211
:::caution

0 commit comments

Comments
 (0)