Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jagottsicher committed Sep 26, 2023
1 parent 988cce8 commit c530b3b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
# Dependency directories (remove the comment below to include it)
# vendor/

# Exclude my Database Setup
database.yml

# an update script in production
update.sh

# log directory in production
logs/

# Exclude my Database Setup
database.yml

# ignore the git language inclusion
.gitattributes
2 changes: 1 addition & 1 deletion cmd/web/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
)

const portNumber = ":8080"
const versionNumber = "v1.0.169"
const versionNumber = "v1.0.175"

var app config.AppConfig
var session *scs.SessionManager
Expand Down
2 changes: 1 addition & 1 deletion cmd/web/send-mail.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func listenForMail() {
func sendMSG(m models.MailData) {
server := mail.NewSMTPClient()
server.Host = "localhost"
server.Port = 1025
server.Port = 25
server.KeepAlive = false
server.ConnectTimeout = 10 * time.Second
server.SendTimeout = 10 * time.Second
Expand Down

0 comments on commit c530b3b

Please sign in to comment.