Software /
code /
prosody-modules
Comparison
mod_candy/mod_candy.lua @ 1031:6b34cc81e15d
mod_candy: Add dependency on mod_bosh
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 01 Jun 2013 19:05:51 +0200 |
parent | 933:5a975ba6a845 |
child | 1384:f67eacb1ac9f |
comparison
equal
deleted
inserted
replaced
1030:674d045a9623 | 1031:6b34cc81e15d |
---|---|
4 -- Run this in www_files | 4 -- Run this in www_files |
5 -- curl -L http://github.com/candy-chat/candy/tarball/master | tar xzfv - --strip-components=1 | 5 -- curl -L http://github.com/candy-chat/candy/tarball/master | tar xzfv - --strip-components=1 |
6 | 6 |
7 local json_encode = require"util.json".encode; | 7 local json_encode = require"util.json".encode; |
8 | 8 |
9 module:depends"bosh"; | |
9 local serve = module:depends"http_files".serve; | 10 local serve = module:depends"http_files".serve; |
10 | 11 |
11 module:provides("http", { | 12 module:provides("http", { |
12 route = { | 13 route = { |
13 ["GET /prosody.js"] = function(event) | 14 ["GET /prosody.js"] = function(event) |