Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uppy-s3_multipart
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
uppy-s3_multipart
Commits
4b1e2003
Unverified
Commit
4b1e2003
authored
Nov 06, 2018
by
Janko Marohnić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use "/" instead of window.location.origin
It's shorter, more intention revealing, and works across all browsers.
parent
01359db9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+4
-4
No files found.
README.md
View file @
4b1e2003
...
...
@@ -97,12 +97,12 @@ POST /s3/multipart/:uploadId/complete
DELETE /s3/multipart/:uploadId
```
Finally, in your Uppy configuration
se
t
`serverUrl`
to your app's URL:
Finally, in your Uppy configuration
poin
t
`serverUrl`
to your app's URL:
```
js
// ...
uppy
.
use
(
Uppy
.
AwsS3Multipart
,
{
serverUrl
:
window
.
location
.
origin
,
// your application
serverUrl
:
'/'
,
})
uppy
.
on
(
'upload-success'
,
function
(
file
,
data
,
uploadURL
)
{
...
...
@@ -176,12 +176,12 @@ map "/s3" do
end
```
In your Uppy configuration
se
t
`serverUrl`
to your app's URL:
In your Uppy configuration
poin
t
`serverUrl`
to your app's URL:
```
js
// ...
uppy
.
use
(
Uppy
.
AwsS3Multipart
,
{
serverUrl
:
window
.
location
.
origin
,
// your application
serverUrl
:
'/'
,
})
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment