The base port value is incorrect
yukihirop opened this issue · 1 comments
yukihirop commented
Summary
$ ultraman start
22:11:30 system | web.1 start at pid: 91352
22:11:32 web.1 | => Booting Puma
22:11:32 web.1 | => Rails 5.2.4.4 application starting in development
22:11:32 web.1 | => Run `rails server -h` for more startup options
22:11:32 web.1 | Puma starting in single mode...
22:11:32 web.1 | * Version 3.12.6 (ruby 2.5.3-p105), codename: Llamas in Pajamas
22:11:32 web.1 | * Min threads: 5, max threads: 5
22:11:32 web.1 | * Environment: development
22:11:32 web.1 | * Listening on tcp://localhost:4999
22:11:32 web.1 | Use Ctrl-C to stop
22:12:05 web.1 | Started GET "/" for ::1 at 2020-12-25 22:12:05 +0900
Expected
port is 5000
Version
$ ultraman --version
ultraman "0.1.2 ( rev: c5d1f03, rustc: 1.48.0, build at: 2020/12/25 12:29:56 )"
yukihirop commented
Also fix the following
warning: use of deprecated function `dotenv::from_path_iter`: please use `from_path` in conjunction with `var` instead
--> src/env.rs:10:33
|
10 | if let Some(iter) = dotenv::from_path_iter(filepath.as_path()).ok() {
| ^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: `ultraman` (bin "ultraman" test) generated 1 warning
Finished test [unoptimized + debuginfo] target(s) in 2.57s
Running unittests (target/debug/deps/ultraman-bb3643b00a0b9296)