Software /
code /
prosody-modules
Comparison
mod_conversejs/mod_conversejs.lua @ 2664:5b97b04e9d1b
mod_conversejs: Include a <body> tag in HTML
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 03 Apr 2017 16:15:15 +0200 |
parent | 2658:b0f4014cb5b4 |
child | 2694:38c66b58b470 |
comparison
equal
deleted
inserted
replaced
2663:6e8c3fc48237 | 2664:5b97b04e9d1b |
---|---|
12 local template = [[ | 12 local template = [[ |
13 <!DOCTYPE html> | 13 <!DOCTYPE html> |
14 <meta charset="utf-8"> | 14 <meta charset="utf-8"> |
15 <link rel="stylesheet" type="text/css" media="screen" href="https://cdn.conversejs.org/css/converse.min.css"> | 15 <link rel="stylesheet" type="text/css" media="screen" href="https://cdn.conversejs.org/css/converse.min.css"> |
16 <script src="https://cdn.conversejs.org/dist/converse.min.js"></script> | 16 <script src="https://cdn.conversejs.org/dist/converse.min.js"></script> |
17 <script>converse.initialize(%s);</script> | 17 <body><script>converse.initialize(%s);</script> |
18 ]] | 18 ]] |
19 | 19 |
20 module:provides("http", { | 20 module:provides("http", { |
21 route = { | 21 route = { |
22 GET = function (event) | 22 GET = function (event) |