You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,31 @@ tasks:
125
125
platforms: ['linux', 'darwin'] # overrides the default
126
126
```
127
127
128
+
#### Configuration: Settings: Gateway
129
+
130
+
The `gateway` field of the `settings` section of the configuration file is used to customize the behavior of the http request gateway when accessing remote files or urls. Both `blocked` and `allowed` content types can be specified as exact strings or wildcards, but both fields are optional.
131
+
132
+
The default value for `blocked` is to not block any content types, and the default value for `allowed` is to allow all content types.
133
+
134
+
```yaml
135
+
settings:
136
+
gateway:
137
+
content-types:
138
+
blocked:
139
+
- audio/*
140
+
- font/*
141
+
- image/*
142
+
- multipart/*
143
+
- video/*
144
+
allowed:
145
+
- application/json
146
+
- application/vnd.api+json
147
+
- application/vnd.github.*
148
+
- application/xml
149
+
- application/yaml
150
+
- text/*
151
+
```
152
+
128
153
#### Configuration: Settings: Domains
129
154
130
155
The `domains` section of the configuration file is used to specify a list of domain names that can be accessed when downloading remote files
0 commit comments