Skip to content

Commit

Permalink
fix: delete unnessary files
Browse files Browse the repository at this point in the history
  • Loading branch information
CorrectRoadH committed Jun 14, 2023
1 parent 9b97e7d commit 95da433
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 1,889 deletions.
5 changes: 0 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ func setupRouter() *gin.Engine {

r := gin.Default()

// embed static files
// read env variable. only when env is production
// if os.Getenv("PROFILE") == "PRODUCTION" {
// }
// embed front-end static files
r.NoRoute(gin.WrapH(http.FileServer(gin.Dir("static", false))))

apiv1 := r.Group("api")
Expand Down

0 comments on commit 95da433

Please sign in to comment.