mirror of
https://github.com/supanadit/geo-smart-system.git
synced 2024-11-21 16:16:22 +00:00
Can use TLS manually
This commit is contained in:
parent
91d3b6edfb
commit
37b10df949
3
main.go
3
main.go
@ -19,5 +19,6 @@ func main() {
|
|||||||
// Call Router
|
// Call Router
|
||||||
system.Router(r, client)
|
system.Router(r, client)
|
||||||
// Run Server
|
// Run Server
|
||||||
_ = r.Run(fmt.Sprintf(":%s", system.ServerPort))
|
// _ = r.Run(fmt.Sprintf(":%s", system.ServerPort))
|
||||||
|
_ = r.RunTLS(fmt.Sprintf(":%s", system.ServerPort), "./server.crt", "./server.key")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user