feat: anti-hotlink for images (#4481)

This commit is contained in:
NeverBehave
2020-04-27 22:27:47 -04:00
committed by GitHub
parent a36e6a0cb9
commit cde5d9af45
6 changed files with 149 additions and 0 deletions

View File

@@ -128,6 +128,9 @@ const calculateValue = () => {
scihub: {
host: envs.SCIHUB_HOST || 'https://sci-hub.tw/',
},
hotlink: {
template: envs.HOTLINK_TEMPLATE,
},
};
};
calculateValue();