Change localhost to 0.0.0.0 so it doesnt complain

When i use this file with default localhost and start the service, libreddit panics and gives this error
`May 04 13:56:14 vern.cc libreddit[104899]: thread 'main' panicked at 'Cannot parse localhost:2501 as address (example format: 0.0.0.0:8080)', /home/libreddit/.cargo/registry/src/github.com-1ecc6299db9ec823/libred>`
using 0.0.0.0 instead fixed it for me
This commit is contained in:
Arya K 2022-05-04 14:03:54 +00:00 committed by GitHub
parent 3facaefb53
commit 390e7335df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,2 +1,2 @@
ADDRESS=localhost
ADDRESS=0.0.0.0
PORT=12345