diff --git a/.gitignore b/.gitignore index ea8c4bf..c1cdd55 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /target +Rocket.toml diff --git a/README.md b/README.md index 86a5f11..68cddd5 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,11 @@ $ cargo run --release add `--release`.) You can provide Rocket with configuration to use a different address and/or port. -Just create a `Rocket.toml` file that contains: +Just create a `Rocket.toml` file that contains (or copy `Rocket.toml.example`): ```toml [default] -address = 0.0.0.0 +address = "0.0.0.0" port = 4321 ``` diff --git a/Rocket.toml.example b/Rocket.toml.example new file mode 100644 index 0000000..0acfef4 --- /dev/null +++ b/Rocket.toml.example @@ -0,0 +1,3 @@ +[default] +address = "0.0.0.0" +port = 2356