Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
9il committed Apr 24, 2015
1 parent 0fa94b3 commit 2bdd1e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ examples/matplotlib/dub.selections.json
examples/matplotlib/atmosphere_gm_charts

examples/matplotlib/plotting_example

examples/vibed-mongo/vibed-mongo
5 changes: 4 additions & 1 deletion examples/vibed-mongo/source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ shared static this()

auto router = new URLRouter;
router.registerWebInterface(mongoService, mongoServiceSettings);
router.get("*", serveStaticFiles("public/"));
router
.get("/", (req, res)
{ res.redirect("/users"); } )
.get("*", serveStaticFiles("public/"));

auto settings = new HTTPServerSettings;
with(settings)
Expand Down

0 comments on commit 2bdd1e0

Please sign in to comment.