Software /
code /
prosody-modules
Comparison
mod_conversejs/mod_conversejs.lua @ 2658:b0f4014cb5b4
mod_conversejs: Remove leftover use of mod_http_files from before commit
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 30 Mar 2017 23:43:01 +0200 |
parent | 2657:6f5c99c9f6cc |
child | 2664:5b97b04e9d1b |
comparison
equal
deleted
inserted
replaced
2657:6f5c99c9f6cc | 2658:b0f4014cb5b4 |
---|---|
6 module:depends"bosh"; | 6 module:depends"bosh"; |
7 | 7 |
8 local has_ws = pcall(function () | 8 local has_ws = pcall(function () |
9 module:depends("websocket"); | 9 module:depends("websocket"); |
10 end); | 10 end); |
11 | |
12 local serve = module:depends"http_files".serve; | |
13 | 11 |
14 local template = [[ | 12 local template = [[ |
15 <!DOCTYPE html> | 13 <!DOCTYPE html> |
16 <meta charset="utf-8"> | 14 <meta charset="utf-8"> |
17 <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"> |