Skip to content

Commit 5c031a0

Browse files
committed
Removed CF_API_KEY from in-page examples
1 parent cf1b3e8 commit 5c031a0

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

docs/types-and-platforms/mod-platforms/auto-curseforge.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,11 @@ Pass a page URL to the modpack or a specific file with `CF_PAGE_URL` such as the
7979
environment:
8080
# ...
8181
MODPACK_PLATFORM: AUTO_CURSEFORGE
82-
# allocate from https://console.curseforge.com/ and set in .env file
83-
CF_API_KEY: ${CF_API_KEY}
8482
CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/all-the-mods-8
8583
```
8684

8785
```title="Using docker run"
88-
docker run -e CF_API_KEY=${CF_API_KEY} -e TYPE=AUTO_CURSEFORGE -e CF_PAGE_URL=https://www.curseforge.com/minecraft/modpacks/all-the-mods-8
86+
docker run -e TYPE=AUTO_CURSEFORGE -e CF_PAGE_URL=https://www.curseforge.com/minecraft/modpacks/all-the-mods-8
8987
```
9088

9189
Instead of a URL, the modpack slug can be provided as `CF_SLUG`. The slug is the short identifier visible in the URL after "/modpacks/", such as
@@ -98,13 +96,11 @@ Instead of a URL, the modpack slug can be provided as `CF_SLUG`. The slug is the
9896
environment:
9997
# ...
10098
MODPACK_PLATFORM: AUTO_CURSEFORGE
101-
# allocate from https://console.curseforge.com/ and set in .env file
102-
CF_API_KEY: ${CF_API_KEY}
10399
CF_SLUG: all-the-mods-8
104100
```
105101

106102
```title="Using docker run"
107-
docker run -e CF_API_KEY=${CF_API_KEY} -e TYPE=AUTO_CURSEFORGE -e CF_SLUG=all-the-mods-8
103+
docker run -e TYPE=AUTO_CURSEFORGE -e CF_SLUG=all-the-mods-8
108104
```
109105

110106
### Pinning modpack and mod loader versions
@@ -148,7 +144,6 @@ By default, AUTO_CURSEFORGE will use the exact modloader version declared by the
148144
```yaml
149145
environment:
150146
MODPACK_PLATFORM: AUTO_CURSEFORGE
151-
CF_API_KEY: ${CF_API_KEY}
152147
CF_SLUG: all-the-mods-8
153148
CF_MOD_LOADER_VERSION: "43.4.22"
154149
```
@@ -197,8 +192,6 @@ If you wish to use an unpublished modpack zip, set the container path to the fil
197192
environment:
198193
EULA: true
199194
MODPACK_PLATFORM: AUTO_CURSEFORGE
200-
# allocate from https://console.curseforge.com/ and set in .env file
201-
CF_API_KEY: ${CF_API_KEY}
202195
CF_MODPACK_MANIFEST: /manifests/manifest.json
203196
CF_SLUG: "custom"
204197
volumes:

0 commit comments

Comments
 (0)