Skip to content

Commit

Permalink
commit remaining doc files that have been auto-changed
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Dec 3, 2021
1 parent d5c5492 commit 6460a54
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion website/src/docs/aws-s3.md
Expand Up @@ -133,7 +133,7 @@ To allow Uppy to upload directly to a bucket, at least its CORS permissions need

CORS permissions can be found in the [S3 Management Console](https://console.aws.amazon.com/s3/home).
Click the bucket that will receive the uploads, then go into the `Permissions` tab and select the `CORS configuration` button.
A JSON document will be shown that defines the CORS configuration. (AWS used to use XML but now only allow JSON). More information about the [S3 CORS format here](https://docs.amazonaws.cn/en\_us/AmazonS3/latest/userguide/ManageCorsUsing.html).
A JSON document will be shown that defines the CORS configuration. (AWS used to use XML but now only allow JSON). More information about the [S3 CORS format here](https://docs.amazonaws.cn/en_us/AmazonS3/latest/userguide/ManageCorsUsing.html).

A good practice is to use two CORS rules: one for viewing the uploaded files, and one for uploading files.

Expand Down
2 changes: 1 addition & 1 deletion website/src/docs/core.md
Expand Up @@ -139,7 +139,7 @@ Optionally, provide rules and conditions to limit the type and/or number of file

`maxNumberOfFiles` also affects the number of files a user is able to select via the system file dialog in UI plugins like `DragDrop`, `FileInput` and `Dashboard`: when set to `1`, they will only be able to select a single file. When `null` or another number is provided, they will be able to select several files.

`allowedFileTypes` gets passed to the system file dialog via [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#Limiting\_accepted\_file\_types)’s accept attribute, so only files matching these types will be selectable.
`allowedFileTypes` gets passed to the system file dialog via [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#Limiting_accepted_file_types)’s accept attribute, so only files matching these types will be selectable.

> If you’d like to force a certain meta field data to be entered before the upload, you can [do so using `onBeforeUpload`](https://github.com/transloadit/uppy/issues/1703#issuecomment-507202561).
Expand Down
2 changes: 1 addition & 1 deletion website/src/docs/screen-capture.md
Expand Up @@ -10,7 +10,7 @@ tagline: "upload selfies or audio / video recordings"

The `@uppy/screen-capture` plugin can record your screen or an application and save it as a video.

> To use the screen capture plugin in a Chromium-based browser, [your site must be served over https](https://developers.google.com/web/updates/2015/10/chrome-47-webrtc#public\_service\_announcements). This restriction does not apply on `localhost`, so you don’t have to jump through many hoops during development.
> To use the screen capture plugin in a Chromium-based browser, [your site must be served over https](https://developers.google.com/web/updates/2015/10/chrome-47-webrtc#public_service_announcements). This restriction does not apply on `localhost`, so you don’t have to jump through many hoops during development.
```js
import ScreenCapture from '@uppy/screen-capture'
Expand Down
1 change: 1 addition & 0 deletions website/src/docs/status-bar.md
Expand Up @@ -169,6 +169,7 @@ module.exports = {
0: '%{smart_count} more file added',
1: '%{smart_count} more files added',
},
showErrorDetails: 'Show error details',
},
}

Expand Down
2 changes: 1 addition & 1 deletion website/src/docs/webcam.md
Expand Up @@ -10,7 +10,7 @@ tagline: "upload selfies or audio / video recordings"

The `@uppy/webcam` plugin lets you take photos and record videos with a built-in camera on desktop and mobile devices.

> To use the Webcam plugin in Chrome, [your site must be served over https](https://developers.google.com/web/updates/2015/10/chrome-47-webrtc#public\_service\_announcements). This restriction does not apply on `localhost`, so you don’t have to jump through many hoops during development.
> To use the Webcam plugin in Chrome, [your site must be served over https](https://developers.google.com/web/updates/2015/10/chrome-47-webrtc#public_service_announcements). This restriction does not apply on `localhost`, so you don’t have to jump through many hoops during development.
```js
import Webcam from '@uppy/webcam'
Expand Down

0 comments on commit 6460a54

Please sign in to comment.