Skip to content

Commit

Permalink
Rename endpoints to constants, add file limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Tihomirov committed Jan 7, 2017
1 parent c3dce9d commit be32bc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions endpoints.go → constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ const APIRoot = "https://api.awau.moe"
// FileUploadLimit defines a set limit for pre-flight check before uploading files
const FileUploadLimit = 83886080

// FileCountLimit defines a set limit of number of files to allow for pre-flight check before uploading the files
const FileCountLimit = 3

var (
// APIFileUploadURL to send POSTs with files to
APIFileUploadURL = APIRoot + "/upload/pomf"
Expand Down

0 comments on commit be32bc6

Please sign in to comment.