Browse Source

port changed

master
Xsivax 2 years ago
parent
commit
764f2cb380
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      src/main.rs
  2. +1
    -1
      templates/assets/js/net.js

+ 2
- 2
src/main.rs View File

@ -24,7 +24,7 @@ async fn main() -> std::io::Result<()> {
.route("/cyberpreneur", web::get().to(route::cyber)) .route("/cyberpreneur", web::get().to(route::cyber))
.route("/offgrid", web::get().to(route::off)) .route("/offgrid", web::get().to(route::off))
}) })
.bind("127.0.0.1:8080")?
.bind("127.0.0.1:5000")?
.run() .run()
.await .await
}
}

+ 1
- 1
templates/assets/js/net.js View File

@ -180,7 +180,7 @@ function dragstart() {
console.log("box atrr", box.attr("class")); console.log("box atrr", box.attr("class"));
if ( box.attr("class") == "box_on" ) { if ( box.attr("class") == "box_on" ) {
// make nodes underneath unclickable as long as box is open !
// make either nodes underneath unclickable as long as box is open or bring content in box to very front !
this.__on = null; this.__on = null;
} }
// this refers to dragged circle element // this refers to dragged circle element

Loading…
Cancel
Save