1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/converse_ynh.git synced 2024-09-03 18:25:53 +02:00

Merge pull request #3 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2021-02-09 17:03:07 +01:00 committed by GitHub
commit ff75bbfafd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 72 additions and 67 deletions

View file

@ -6,7 +6,7 @@
"en": "Web-based XMPP/Jabber chat client", "en": "Web-based XMPP/Jabber chat client",
"fr": "Client de chat XMPP/Jabber basé sur le Web" "fr": "Client de chat XMPP/Jabber basé sur le Web"
}, },
"version": "7.0.4~ynh2", "version": "7.0.4~ynh3",
"url": "http://conversejs.org/", "url": "http://conversejs.org/",
"license": "MPL-2.0", "license": "MPL-2.0",
"maintainer": { "maintainer": {

View file

@ -59,7 +59,8 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, the source from sources folder # Download, the source from sources folder
mkdir -p $final_path && cp -a ../sources/* $final_path mkdir -p $final_path && cp -a ../sources/* $final_path
ynh_replace_string --match_string="__DOMAIN____PATH__" --replace_string="$domain$path_url" --target_file="$final_path/index.html" ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="$final_path/index.html"
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$final_path/index.html"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION

File diff suppressed because one or more lines are too long

View file

@ -52,11 +52,13 @@
auto_away: 300, auto_away: 300,
auto_reconnect: true, auto_reconnect: true,
bosh_service_url: 'https://__DOMAIN____PATH__/http-bind', bosh_service_url: 'https://__DOMAIN____PATH__/http-bind',
default_domain: '__DOMAIN__',
message_archiving: 'always', message_archiving: 'always',
view_mode: 'fullscreen' view_mode: 'fullscreen',
assets_path: '/dist/',
play_sounds: true,
sounds_path: '${assets_path}/sounds/'
}); });
</script> </script>
</body> </body>
</html> </html>
<!-- Localized -->