diff --git a/manifest.json b/manifest.json index 67d7b35..f8ff658 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "packaging_format": 1, "description": { "en": "Encrypted Pad", - "fr": "Créateur de pad chiffré." + "fr": "Créateur de pad chiffré." }, "version": "2.16.0", "url": "https://cryptpad.fr/", @@ -25,26 +25,26 @@ "install" : [ { "name": "domain", - "type": "domain", + "type": "domain", "ask": { "en": "Choose a domain name for CryptPad", "fr": "Choisissez un nom de domaine pour CryptPad" }, "example": "example.com" }, - { + { "name": "path", - "type": "path", + "type": "path", "ask": { "en": "Choose a path for CryptPad, only / is allowed.", "fr": "Choisissez un chemin pour CryptPad, seul / est autorisé." }, "example": "/", "default": "/" - }, - { + }, + { "name": "email", - "type": "email", + "type": "email", "ask": { "en": "Choose an email for the admin user.", "fr": "Choisissez une adresse mail pour l'administrateur" diff --git a/scripts/install b/scripts/install index 42efff9..341ec90 100644 --- a/scripts/install +++ b/scripts/install @@ -124,7 +124,7 @@ chown admin: -R $install_log #================================================= # Copy default configuration file -mv "$final_path/config.example.js" "$final_path/config.js" +mv "../conf/config.js" "$final_path/config.js" ynh_replace_string "_domain = 'http://localhost:3000/'" "_domain = 'https://$domain$path_url'" "$final_path/config.js" # Set service port ynh_replace_string "__PORT__" "$port" "$final_path/config.js"