aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-08-25 23:41:13 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-08-25 23:41:13 +0300
commitba09abbe6a8d0c1f3a54c8c7426eda7b930e1447 (patch)
tree296837f577a86a042a16cd006a96c523cbcedcf5 /main.go
parentfeat: better score handling in profiles (#51) (diff)
downloadlphub-ba09abbe6a8d0c1f3a54c8c7426eda7b930e1447.tar.gz
lphub-ba09abbe6a8d0c1f3a54c8c7426eda7b930e1447.tar.bz2
lphub-ba09abbe6a8d0c1f3a54c8c7426eda7b930e1447.zip
docs: profile improvement swagger (#51)
Former-commit-id: ff35be478c4f29c611c40fa34ca5d134e970cc16
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 9b531fe..69f7c86 100644
--- a/main.go
+++ b/main.go
@@ -19,8 +19,8 @@ import (
19// @license.name GNU General Public License, Version 2 19// @license.name GNU General Public License, Version 2
20// @license.url https://www.gnu.org/licenses/old-licenses/gpl-2.0.html 20// @license.url https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
21 21
22// @host lp.ardapektezol.com/api 22// @host lp.ardapektezol.com/api
23// @BasePath /v1 23// @BasePath /v1
24func main() { 24func main() {
25 if os.Getenv("ENV") == "PROD" { 25 if os.Getenv("ENV") == "PROD" {
26 gin.SetMode(gin.ReleaseMode) 26 gin.SetMode(gin.ReleaseMode)