We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ed4971 commit fe229e4Copy full SHA for fe229e4
examples/aws-companion/main.js
@@ -23,5 +23,5 @@ uppy.use(Dashboard, {
23
plugins: ['GoogleDrive', 'Webcam'],
24
})
25
uppy.use(AwsS3, {
26
- companionUrl: 'http://localhost:3020',
+ endpoint: 'http://localhost:3020',
27
examples/aws-companion/server.cjs
@@ -10,7 +10,7 @@ const DATA_DIR = path.join(__dirname, 'tmp')
10
11
app.use(
12
require('cors')({
13
- origin: 'http://localhost:3000',
+ origin: 'http://localhost:5173',
14
methods: ['GET', 'POST', 'OPTIONS'],
15
credentials: true,
16
}),
@@ -45,6 +45,7 @@ const options = {
45
filePath: DATA_DIR,
46
secret: 'blah blah',
47
debug: true,
48
+ corsOrigin: true,
49
}
50
51
// Create the data directory here for the sake of the example.
0 commit comments