mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-25 11:14:05 +00:00
examples: Update digitalocean-spaces deps.
This commit is contained in:
parent
6cdc7edd60
commit
48eee181d5
3 changed files with 1147 additions and 1567 deletions
2699
examples/digitalocean-spaces/package-lock.json
generated
2699
examples/digitalocean-spaces/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -4,14 +4,13 @@
|
|||
"scripts": {
|
||||
"start": "node ./server.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"aliasify": "^2.1.0",
|
||||
"babelify": "^7.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"body-parser": "^1.18.2",
|
||||
"budo": "^11.1.7",
|
||||
"aliasify": "^2.1.0",
|
||||
"babel-core": "^6.26.3",
|
||||
"babelify": "^8.0.0",
|
||||
"body-parser": "^1.18.3",
|
||||
"budo": "^11.3.2",
|
||||
"cors": "^2.8.4",
|
||||
"router": "^1.3.2"
|
||||
"router": "^1.3.3"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ app.use('/uppy-server', uppy.app({
|
|||
// Serve the built CSS file.
|
||||
app.get('/uppy.min.css', (req, res) => {
|
||||
res.setHeader('content-type', 'text/css')
|
||||
fs.createReadStream(path.join('../../dist/uppy.min.css')).pipe(res)
|
||||
fs.createReadStream(path.join('../../packages/uppy/dist/uppy.min.css')).pipe(res)
|
||||
})
|
||||
|
||||
// Start the development server, budo.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue