Skip to content
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

Possible to upload image and other binary files? #15

Open
blurymind opened this issue Apr 27, 2021 · 0 comments
Open

Possible to upload image and other binary files? #15

blurymind opened this issue Apr 27, 2021 · 0 comments

Comments

@blurymind
Copy link

blurymind commented Apr 27, 2021

If so, how do we get this from an input onChange event to gist?
The content option seems to only accept strings, however I know that it is possible to add images to a gist in other means
https://gist.github.com/mroderick/1afdd71aa69f6b29601d335751a1a9be

btw since I am trying this from a PWA, I cannot use fs = require('fs') as its only available when running from local server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant