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

restore a file from outside to supabase #125

Open
falstack opened this issue Nov 26, 2022 · 0 comments
Open

restore a file from outside to supabase #125

falstack opened this issue Nov 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@falstack
Copy link

Feature request

Is your feature request related to a problem? Please describe.

I need restore user avatar from twitter/youtube etc.

Describe the solution you'd like

await supabase.storage.from('https://twitter-img/avatar.png').to('bucket-name', 'file-path')

Describe alternatives you've considered

  1. download at user server side and upload
  2. download at supabase server side and upload

Additional context

  1. nextjs need add allowDomain for image
  2. twitter will delete old user avatar
@falstack falstack added the enhancement New feature or request label Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant