remove url reachability check for download url as it may give cors error #12

Merged
s merged 1 commits from staging into master 2024-08-19 06:23:59 +00:00

View File

@ -337,10 +337,7 @@ export const ModForm = ({ existingModData }: ModFormProps) => {
} else {
for (let i = 0; i < formState.downloadUrls.length; i++) {
const downloadUrl = formState.downloadUrls[i]
if (
!isValidUrl(downloadUrl.url) ||
!(await isReachable(downloadUrl.url))
) {
if (!isValidUrl(downloadUrl.url)) {
if (!errors.downloadUrls)
errors.downloadUrls = Array(formState.downloadUrls.length)