Software /
code /
prosody-modules
Changeset
2240:967ba25edf58
mod_invite: Serve CSS correctly
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 08 Jul 2016 23:58:10 +0200 |
parents | 2239:df696c8d5282 |
children | 2241:2a16a6c67288 |
files | mod_invite/mod_invite.lua |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_invite/mod_invite.lua Fri Jul 08 23:57:20 2016 +0200 +++ b/mod_invite/mod_invite.lua Fri Jul 08 23:58:10 2016 +0200 @@ -120,8 +120,7 @@ module:provides("http", { route = { - ["GET /a_file.txt"] = serve(module:get_directory().."/my_file.txt"); - ["GET /bootstrap.min.css"] = serve(module:get_directory()); + ["GET /bootstrap.min.css"] = serve(module:get_directory() .. "/invite/bootstrap.min.css"); ["GET /*"] = generate_page; POST = handle_form; };