feat: white webdav server domain

This commit is contained in:
butterfly
2024-04-09 18:05:56 +08:00
parent 7fcfbc3729
commit 8b191bd2f7
6 changed files with 57 additions and 21 deletions

View File

@@ -79,6 +79,10 @@ export const getServerSideConfig = () => {
`[Server Config] using ${randomIndex + 1} of ${apiKeys.length} api key`,
);
const whiteWebDevDomains = (process.env.WHITE_WEBDEV_DOMAINS ?? "").split(
",",
);
return {
baseUrl: process.env.BASE_URL,
apiKey,
@@ -112,5 +116,6 @@ export const getServerSideConfig = () => {
hideBalanceQuery: !process.env.ENABLE_BALANCE_QUERY,
disableFastLink: !!process.env.DISABLE_FAST_LINK,
customModels,
whiteWebDevDomains,
};
};