mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 20:35:07 +03:00
* docs: remove link to token-transformer since that repo has since been refactored and no particular file contains the code originally linked to * docs: update Redis link in rate limiting examples to point to the correct URL * docs: update Supabase URLs to current magic link docs * docs: update README for postgres-on-the-edge function to remove polyscale line (service no longer exists) and add resource links to relevant deno blog post * docs: update Open Graph image generation examples links to the new documentation URL * docs: update README with new Quickstart: Swift guide URL * docs: update Supabase Vector links to reflect new URL * docs: add two new link suggestions the replace the current broken one. Choose one. * docs: update documentation links for Postgres Language Server to reflect new URL * docs: update event trigger matrix documentation link to compensate for fact that 'current' verb does not work for some of their links * Update apps/docs/content/troubleshooting/supabase-grafana-memory-charts.mdx Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com> --------- Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com>
932 B
932 B
Resumable Uploads with Supabase Storage and Uppy
This example shows how to use Supabase Storage with Uppy to upload files to Supabase Storage using the TUS protocol (resumable uploads).
Running the example
- Create a supabase bucket from the Supabase UI
- Add a policy to allow public uploads
- e.g.
CREATE POLICY "allow uploads" ON storage.objects FOR INSERT TO public WITH CHECK (bucket_id = 'your-bucket-name');
- e.g.
- Open the index.html file and replace the following variables with your own:
const SUPABASE_ANON_KEY = '' // your project's anon key
const SUPABASE_PROJECT_ID = '' // your project ref
const STORAGE_BUCKET = '' // your storage bucket name
const BEARER_TOKEN = '' // your bearer token
Serve the index.html file locally (e.g. with Python Simple HTTP Server) and start uploading:
python3 -m http.server