From 496477ebda3f6c347a9944e22daae447d15ebc31 Mon Sep 17 00:00:00 2001 From: Pitu Date: Mon, 11 May 2020 00:57:56 +0900 Subject: Feature: enable apiKey access to uploads and album fetching for the uploader/sharex/3rd party --- src/api/routes/uploads/chunksPOST.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/api/routes/uploads/chunksPOST.js') diff --git a/src/api/routes/uploads/chunksPOST.js b/src/api/routes/uploads/chunksPOST.js index 1c02bc7..013c0d6 100644 --- a/src/api/routes/uploads/chunksPOST.js +++ b/src/api/routes/uploads/chunksPOST.js @@ -6,7 +6,10 @@ const randomstring = require('randomstring'); class uploadPOST extends Route { constructor() { - super('/upload/chunks', 'post', { bypassAuth: true }); + super('/upload/chunks', 'post', { + bypassAuth: true, + canApiKey: true + }); } async run(req, res, db) { -- cgit v1.2.3