mirror of
https://github.com/supanadit/geo-smart-system.git
synced 2024-11-21 16:16:22 +00:00
Rollback to old version without AutoTLS
This commit is contained in:
parent
19cf1f4ad7
commit
91d3b6edfb
4
main.go
4
main.go
@ -1,8 +1,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"github.com/gin-contrib/cors"
|
"github.com/gin-contrib/cors"
|
||||||
"github.com/gin-gonic/autotls"
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/go-redis/redis"
|
"github.com/go-redis/redis"
|
||||||
"github.com/supanadit/geo-smart-system/system"
|
"github.com/supanadit/geo-smart-system/system"
|
||||||
@ -19,5 +19,5 @@ func main() {
|
|||||||
// Call Router
|
// Call Router
|
||||||
system.Router(r, client)
|
system.Router(r, client)
|
||||||
// Run Server
|
// Run Server
|
||||||
_ = autotls.Run(r, "api.geosmart.supanadit.com")
|
_ = r.Run(fmt.Sprintf(":%s", system.ServerPort))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user