Skip to content

Commit

Permalink
dev: listen on 0.0.0.0 for local web server
Browse files Browse the repository at this point in the history
  • Loading branch information
lukexor committed Jun 13, 2024
1 parent 9a2804b commit 6bd30df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,19 @@ dependencies = ["create-dist", "add-wasm-target"]
description = "Run TetaNES Web in release mode"
category = "Development"
command = "trunk"
args = ["serve", "--release", "--config", "tetanes/Cargo.toml"]
args = ["serve", "--release", "--config", "tetanes/Cargo.toml", "--address", "0.0.0.0"]
dependencies = ["add-wasm-target"]

[tasks.profile-web]
description = "Run TetaNES Web in release mode w/profiling"
category = "Development"
command = "trunk"
args = ["serve", "--release", "--features", "profiling", "--config", "tetanes/Cargo.toml"]
args = ["serve", "--release", "--features", "profiling", "--config", "tetanes/Cargo.toml", "--address", "0.0.0.0"]
dependencies = ["add-wasm-target"]

[tasks.dev-web]
description = "Run TetaNES Web in development mode"
category = "Development"
command = "trunk"
args = ["serve", "--config", "tetanes/Cargo.toml"]
args = ["serve", "--config", "tetanes/Cargo.toml", "--address", "0.0.0.0"]
dependencies = ["add-wasm-target"]

0 comments on commit 6bd30df

Please sign in to comment.