~ritho/rweb

11a87837c197fdf4a2c9b8fa4c6cf4b4bdcc2c67 — Ritho 12 days ago 19a841b v1.0.3
Add the http port to the uncyphered server.

Signed-off-by: Ritho <palvarez@ritho.net>
2 files changed, 7 insertions(+), 1 deletions(-)

M debian/changelog
M internal/server/server.go
M debian/changelog => debian/changelog +6 -0
@@ 1,3 1,9 @@
web (1.0.3) unstable; urgency=low

  * Add the http port to the uncyphered server.

 -- Pablo Alvarez de Sotomayor Posadillo <palvarez@ritho.net>  Wed, 13 Sep 2022 21:57:45 +0200

web (1.0.2) unstable; urgency=low

  * Start both the http and https servers at the same time.

M internal/server/server.go => internal/server/server.go +1 -1
@@ 87,7 87,7 @@ func (s *server) Start() error {
		s.cfg.Server.Port)
	if s.cfg.Server.TLS {
		go func() {
			if err := s.srv.Start(s.cfg.Server.Host); err != nil {
			if err := s.srv.Start(fmt.Sprintf("%s:80", s.cfg.Server.Domain)); err != nil {
				log.Fatalf("Error starting the server: %s", err)
			}
		}()