We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cba3fc9 commit e06bea2Copy full SHA for e06bea2
ts/config.ts
@@ -171,9 +171,9 @@ export const contentRepoUrl = pipe(
171
);
172
173
export const newContentRepoUrl =
174
- Config.NEW_CONTENT_REPO_URL && Config.NEW_CONTENT_REPO_URL.trim().length > 0
175
- ? Config.NEW_CONTENT_REPO_URL.trim()
176
- : NEW_DEFAULT_CONTENT_REPO_URL;
+ (typeof Config.NEW_CONTENT_REPO_URL === "string" &&
+ Config.NEW_CONTENT_REPO_URL.trim()) ||
+ NEW_DEFAULT_CONTENT_REPO_URL;
177
178
export const totMessageFetchWorkers = pipe(
179
parseInt(Config.TOT_MESSAGE_FETCH_WORKERS, 10),
0 commit comments