LukeMathWalker / zero-to-production

Code for "Zero To Production In Rust", a book on API development using Rust.
https://www.zero2prod.com
Apache License 2.0
5.86k stars 519 forks source link

base_url should include port? #270

Open czarop opened 1 month ago

czarop commented 1 month ago

In the code around generating a subscription confirmation link for the email, the link address is stated as being '{base_url}/subscriptions/confimation...' (base_url being taken from base.yaml for the local version of the app). In base.yaml, base_url is "http://127.0.0.1" - I believe this should be 'http://127.0.0.1:8000' , otherwise the confirmation link generated does not work locally.