mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 12:43:48 -04:00
(lint)
This commit is contained in:
parent
a5951d4557
commit
a951b721f3
@ -825,7 +825,7 @@ const isValidAvatarSource = (source: string | null): boolean => {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (process.env.CLOUDFRONT && source.startsWith(process.env.CLOUDFRONT + '/')) {
|
||||
if (process.env.CLOUDFRONT && source.startsWith(`${process.env.CLOUDFRONT}/`)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user