Skip to content

Commit

Permalink
fix logged conn link typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dragazo committed Nov 29, 2023
1 parent bb97ec9 commit 4129b7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "netsblox-vm"
version = "0.3.2"
version = "0.3.3"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["Devin Jean <emailcruzjean@yahoo.com>"]
Expand Down
4 changes: 3 additions & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ use crate::project::*;
use crate::template::*;

const DEFAULT_BASE_URL: &str = "https://cloud.netsblox.org";
const DEFAULT_EDITOR_URL: &str = "https://editor.netsblox.org";

const STEPS_PER_IO_ITER: usize = 64;
const MAX_REQUEST_SIZE_BYTES: usize = 1024 * 1024 * 1024;
const YIELDS_BEFORE_IDLE_SLEEP: usize = 256;
Expand Down Expand Up @@ -350,7 +352,7 @@ fn run_proj_non_tty<C: CustomTypes<StdSystem<C>>>(project_name: &str, server: St
}
}
fn run_server<C: CustomTypes<StdSystem<C>>>(nb_server: String, addr: String, port: u16, overrides: Config<C, StdSystem<C>>, clock: Arc<Clock>, syscalls: &[SyscallMenu]) {
println!(r#"connect from {nb_server}/?extensions=["http://{addr}:{port}/extension.js"]"#);
println!(r#"connect from {DEFAULT_EDITOR_URL}/?extensions=["http://{addr}:{port}/extension.js"]"#);

let extension = ExtensionArgs {
server: &format!("http://{addr}:{port}"),
Expand Down

0 comments on commit 4129b7a

Please sign in to comment.