New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Companion socket options? #3306
Comments
Hi, this seems to be incorrect in the docs. The options should be passed to the companion instance instead and socket doesn't take options. import companion from '@uppy/companion'
import express from 'express'
const app = express()
app.use('/companion', companion.app({ /* options */ })) cc @mifi |
I think the socket function has never accepted an options arguemnt:
The correct way should just be |
Closed in #3307 |
HeavenFox
pushed a commit
to docsend/uppy
that referenced
this issue
Jun 27, 2023
…et` (transloadit#3307) remove socket options from docs and examples. It was never an option. See transloadit#3306
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In companion's readme/docs, it says in order to enable progress updates, we should call
companion.socket(server, options)
. After upgrading @uppy/companion to v3, theoptions
argument is no longer accepted. What's the correct way to do this?The text was updated successfully, but these errors were encountered: