mod_invite: Serve CSS correctly

Fri, 08 Jul 2016 23:58:10 +0200

author
Kim Alvefur <zash@zash.se>
date
Fri, 08 Jul 2016 23:58:10 +0200
changeset 2240
967ba25edf58
parent 2239
df696c8d5282
child 2241
2a16a6c67288

mod_invite: Serve CSS correctly

mod_invite/mod_invite.lua file | annotate | diff | comparison | revisions
--- 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;
 	};

mercurial