From 33817aa12fc6d47c7193c7253776938a8663a725 Mon Sep 17 00:00:00 2001 From: Antoine Gersant Date: Wed, 14 Sep 2016 23:45:59 -0700 Subject: [PATCH] Added build status to readme --- README.md | 4 +++- src/main.rs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1ae76ba..b9ca5f8 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -# polaris \ No newline at end of file +[![Build Status](https://travis-ci.org/agersant/polaris.svg?branch=master)](https://travis-ci.org/agersant/polaris) + +# Polaris \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 75d9c24..4857a8a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -47,7 +47,7 @@ fn main() { let mut mount = Mount::new(); mount.mount("/api/", api_chain); - mount.mount("/", Static::new(Path::new("web"))); + mount.mount("/", Static::new(Path::new("../polaris-web"))); Iron::new(mount).http("localhost:3000").unwrap(); }