diff --git a/README.md b/README.md index 5b2ccef..bceaf2f 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Implement access controls by signing or proxying requests. 2. Get write access method for the bucket 3. Validate the token against the access method 4. Validate that OBJECTNAME starts with `photo/` -5. If necessary, presign an object URL for 1 day +5. If necessary, presign an object URL for 30 minutes 6. 307 redirect to presigned URL ### Authentication diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..0c8b781 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module git.makerforce.io/photos/photos + +go 1.14