parent
33817aa12f
commit
d9d17929f8
2 changed files with 2 additions and 4 deletions
|
@ -1,3 +1 @@
|
||||||
[](https://travis-ci.org/agersant/polaris)
|
# polaris
|
||||||
|
|
||||||
# Polaris
|
|
|
@ -47,7 +47,7 @@ fn main() {
|
||||||
|
|
||||||
let mut mount = Mount::new();
|
let mut mount = Mount::new();
|
||||||
mount.mount("/api/", api_chain);
|
mount.mount("/api/", api_chain);
|
||||||
mount.mount("/", Static::new(Path::new("../polaris-web")));
|
mount.mount("/", Static::new(Path::new("web")));
|
||||||
|
|
||||||
Iron::new(mount).http("localhost:3000").unwrap();
|
Iron::new(mount).http("localhost:3000").unwrap();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue