-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
example_index.html
34 lines (32 loc) · 1.25 KB
/
example_index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="en">
<head>
<title>Xabber Web</title>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
<link rel="manifest" href="manifest.json">
<script src="https://www.gstatic.com/firebasejs/4.3.1/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.3.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.3.1/firebase-messaging.js"></script>
<script src="./dist/libsignal-protocol.js"></script>
<link rel="stylesheet" href="dist/xabber.min.css?v2.1.0">
<link href="./dist/quill.snow.css" rel="stylesheet">
<script src="./dist/quill.min.js"></script>
<script src="dist/xabber.min.js?v2.1.0"></script>
<script>
require(['xabber'], function (xabber) {
xabber.configure({
// Please specify location of xabber-websocket service,
// e.g. 'wss://web.xabber.com/websocket
// To run your own server visit https://github.com/redsolution/xabber-websocket
CONNECTION_URL: '',
LOG_LEVEL: 'WARN'
});
xabber.start();
});
</script>
</head>
<body>
<div class="login-container"></div>
</body>
</html>