File tree 1 file changed +2
-2
lines changed
themes/psh-docs/layouts/shortcodes/ddev
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ Then add the token to your DDEV configuration.
7
7
You can do so globally (easiest for most people):
8
8
9
9
``` bash
10
- ddev config global --web-environment-add={{ ` {{< vendor/prefix_cli > }}` | .Page.RenderString }}_CLI_TOKEN={{ ` {{< variable " API_TOKEN" > }}` | .Page.RenderString }}
10
+ ddev config global --web-environment-add={{ ` {{< vendor/prefix_cli > }}` | .Page.RenderString | chomp }}_CLI_TOKEN={{ ` {{< variable " API_TOKEN" > }}` | .Page.RenderString }}
11
11
```
12
12
13
13
You can also add the token only to the project:
14
14
15
15
``` bash
16
- ddev config --web-environment-add={{ ` {{< vendor/prefix_cli > }}` | .Page.RenderString }}_CLI_TOKEN={{ ` {{< variable " API_TOKEN" > }}` | .Page.RenderString }}
16
+ ddev config --web-environment-add={{ ` {{< vendor/prefix_cli > }}` | .Page.RenderString | chomp }}_CLI_TOKEN={{ ` {{< variable " API_TOKEN" > }}` | .Page.RenderString }}
17
17
```
18
18
<!-- shortcode end {{ .Name }} -->
You can’t perform that action at this time.
0 commit comments