projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update dependencies
[oweals/peertube.git]
/
server
/
helpers
/
custom-validators
/
feeds.ts
diff --git
a/server/helpers/custom-validators/feeds.ts
b/server/helpers/custom-validators/feeds.ts
index 638e814f03e36a7617a8d937600877cd8516ef27..fa35a7da6c072b0234a1b2b4101fccfd050da382 100644
(file)
--- a/
server/helpers/custom-validators/feeds.ts
+++ b/
server/helpers/custom-validators/feeds.ts
@@
-13,7
+13,7
@@
function isValidRSSFeed (value: string) {
'atom1'
]
- return feedExtensions.in
dexOf(value) !== -1
+ return feedExtensions.in
cludes(value)
}
// ---------------------------------------------------------------------------