9f054dd767
- hot reloading - split config into dev and prod
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Converse.js</title>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="description" content="Converse.js: A free chat client for your website" />
|
|
<link rel="shortcut icon" type="image/ico" href="favicon.ico"/>
|
|
</head>
|
|
<body class="reset"></body>
|
|
<script>
|
|
converse.plugins.add('converse-debug', {
|
|
initialize () {
|
|
const { _converse } = this;
|
|
window._converse = _converse;
|
|
}
|
|
});
|
|
converse.initialize({
|
|
auto_register_muc_nickname: true,
|
|
enable_smacks: true,
|
|
auto_away: 300,
|
|
i18n: 'af',
|
|
view_mode: 'fullscreen',
|
|
muc_respect_autojoin: true,
|
|
bosh_service_url: 'http://chat.example.org:5380/http-bind/',
|
|
websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
|
|
whitelisted_plugins: ['converse-debug'],
|
|
muc_domain: 'conference.chat.example.org',
|
|
message_archiving: 'always',
|
|
debug: true,
|
|
jid: 'klaus.dresner@chat.example.org',
|
|
password: 'secret',
|
|
auto_login: true
|
|
});
|
|
</script>
|
|
</html>
|