From d84220b2c2b121c9900284d7bd5c57231d691896 Mon Sep 17 00:00:00 2001 From: hippoz Date: Sun, 25 Oct 2020 12:43:37 +0200 Subject: [PATCH] update allowlist --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index fc786e2..7f2eb99 100644 --- a/index.js +++ b/index.js @@ -62,7 +62,7 @@ const getFileType = (filename) => { return type; }; -const allowlist = ['https://files.hippoz.xyz/', 'https://hippoz.xyz/', 'https://files.hippoz.xyz', 'https://hippoz.xyz'] +const allowlist = ['https://hippoz.xyz/', 'https://hippoz.xyz'] const corsOptions = { origin: function (origin, callback) { if (allowlist.indexOf(origin) !== -1) {