From 0397fcd52f770d56687e7092302e11f8e9ffe229 Mon Sep 17 00:00:00 2001 From: spencerwooo Date: Wed, 16 Mar 2022 16:58:27 +0800 Subject: [PATCH] remove unused config setting --- config/api.config.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/config/api.config.js b/config/api.config.js index b3dee7a..8d1a251 100644 --- a/config/api.config.js +++ b/config/api.config.js @@ -25,10 +25,6 @@ module.exports = { // The scope we require are listed here, in most cases you would not need to change this as well. scope: 'user.read files.read.all offline_access', - // The directLinkRegex is used to match the direct link of the file from the response of the API. We originally use this to prevent - // unauthorised use of the proxied download feature - but that is disabled for now. So you can safely ignore this settings. - directLinkRegex: 'public[.].*[.]files[.]1drv[.]com', - // Cache-Control header, check Vercel documentation for more details. The default settings imply: // - max-age=0: no cache for your browser // - s-maxage=0: cache is fresh for 60 seconds on the edge, after which it becomes stale