-
Notifications
You must be signed in to change notification settings - Fork 87
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
Uploading files not supported via sockets #103
Comments
This is the complete file, however, this needs dependencies (ng-file-upload)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I could not find a way to upload files via your socket-connection. http://sailsjs.org/documentation/reference/request-req tells me this is not supported for websockets.
I added an upload function to your DataService.js:
where Upload is from ng-file-upload (https://github.com/danialfarid/ng-file-upload).
I don't have time to make a proper pull-request and I am not sure whether or not this is the way to do it. It solved my problem though.
The text was updated successfully, but these errors were encountered: