毛玻璃网盘
统计中…
| 名称 | 大小 | 操作 |
|---|
照着填,3 分钟搞定
insert into storage.buckets (id, name, public)
values ('files', 'files', false)
on conflict (id) do nothing;
alter table storage.objects enable row level security;
drop policy if exists "own folder all" on storage.objects;
create policy "own folder all" on storage.objects
for all to authenticated
using (bucket_id = 'files' and (storage.foldername(name))[1] = auth.uid()::text)
with check (bucket_id = 'files' and (storage.foldername(name))[1] = auth.uid()::text);
anon public。配置仅存本地 localStorage,不上传任何服务器。
| 名称 | 大小 | 操作 |
|---|