mirror of
https://github.com/YunoHost-Apps/converse_ynh.git
synced 2024-09-03 18:25:53 +02:00
commit
ff75bbfafd
4 changed files with 72 additions and 67 deletions
|
@ -6,7 +6,7 @@
|
|||
"en": "Web-based XMPP/Jabber chat client",
|
||||
"fr": "Client de chat XMPP/Jabber basé sur le Web"
|
||||
},
|
||||
"version": "7.0.4~ynh2",
|
||||
"version": "7.0.4~ynh3",
|
||||
"url": "http://conversejs.org/",
|
||||
"license": "MPL-2.0",
|
||||
"maintainer": {
|
||||
|
|
|
@ -59,7 +59,8 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
|||
# Download, the source from sources folder
|
||||
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
|
||||
|
|
126
sources/dist/converse.min.js
vendored
126
sources/dist/converse.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -52,11 +52,13 @@
|
|||
auto_away: 300,
|
||||
auto_reconnect: true,
|
||||
bosh_service_url: 'https://__DOMAIN____PATH__/http-bind',
|
||||
default_domain: '__DOMAIN__',
|
||||
message_archiving: 'always',
|
||||
view_mode: 'fullscreen'
|
||||
view_mode: 'fullscreen',
|
||||
assets_path: '/dist/',
|
||||
play_sounds: true,
|
||||
sounds_path: '${assets_path}/sounds/'
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<!-- Localized -->
|
Loading…
Add table
Reference in a new issue