Skip to content

GitHub30/deta-drive-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deta-drive-proxy

Usage

project_id=c0m8f10j
drive_name=Drive
filename=abc/hello.txt
API_KEY=xxxxxxxxxx
curl https://public.deta.dev/$project_id/$drive_name/$filename?key=$API_KEY

A key is required on the first request.

Examples

https://public.deta.dev/c0m8f10j/Drive/eevee.jpg?key=xxxxxxxxxx

https://public.deta.dev/c0m8f10j/Drive/eevee.jpg

Deploy app

git clone https://github.com/GitHub30/deta-drive-proxy
cd deta-drive-proxy
npm install

echo 'BINARY_CONTENT_TYPES=image/*,audio/*,video/*,font/*,application/*' >> .env
echo 'KEY=xxxxxxxxxxx' >> .env
deta update -e .env

deta deploy

# for Debug
deta visor enable

Releases

No releases published

Packages

No packages published