Skip to content

Commit

Permalink
web monitor local file path
Browse files Browse the repository at this point in the history
  • Loading branch information
0o-de-lally committed May 17, 2021
1 parent 9824b39 commit be88853
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ol/cli/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ pub async fn start_server(mut node: Node, run_checks: bool) {

let node_home = cfg.clone().workspace.node_home.clone();
let web_files = if *IS_PROD {
node_home.join("web-monitor/public/")
node_home.join("web-monitor/")
// for using `npm run dev`
} else {
PathBuf::from("/root/libra/ol/cli/web-monitor/")
PathBuf::from("/root/libra/ol/cli/web-monitor/public/")
};

//GET /
Expand Down

0 comments on commit be88853

Please sign in to comment.