mirror of
https://github.com/gomods/athens
synced 2026-02-03 08:40:31 +00:00
docs: typo for ATHENS_DOWNLOAD_MODE custom (#1605)
This commit is contained in:
@@ -18,7 +18,7 @@ This document will outline how to use this file - called the download mode file
|
||||
First, once you've created your download mode file, you tell Athens to use it by setting the `DownloadMode` configuration parameter in the `config.toml` file, or setting the `ATHENS_DOWNLOAD_MODE` environment variable. You can set this configuration value to one of two values to tell Athens to use your file:
|
||||
|
||||
1. Set its value to `file:$FILE_PATH`, where `$FILE_PATH` is the path to the HCL file
|
||||
2. Set its value to `custom$BASE_64` where `$BASE_64` is the base64 encoded HCL file
|
||||
2. Set its value to `custom:$BASE_64` where `$BASE_64` is the base64 encoded HCL file
|
||||
|
||||
>Instead of one of the above two values, you can set this configuration to `sync`, `async`, `none`, `redirect`, or `async_redirect`. If you do, the download mode will be set globally rather than for specific sub-groups of modules. See below for what each of these values mean.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user