Version 0.3.4 - Fix of Links
All checks were successful
Neutral/pipeline/head This commit looks good

This commit is contained in:
CICD - Pipeline 2023-11-05 12:19:17 +01:00
parent adfb626dd7
commit 04fcece8d4
2 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"name": "neutral",
"version": "0.3.3",
"version": "0.3.4",
"description": "Panel d'administration de Raphix",
"main": "index.js",
"scripts": {

View File

@ -94,13 +94,15 @@ function generateLinksView() {
info.err("Un nouveau lien est nécéssaire")
return false
}
if(!newlink.value.match(/^[a-zA-Z0-9-_]+$/)) {
info.err("L'URL n'est pas valide")
return false
}
}
if(!newlink.value.match(/^[a-zA-Z0-9-_]+$/)) {
info.err("L'URL n'est pas valide")
return false
}