diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-20 14:42:19 +0000 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-21 23:57:31 +0300 |
| commit | 91a7475abde54a342510fc481f3294a4d1f507d0 (patch) | |
| tree | cc95b6c22fcc454b119bae2f0d5ee5112579a967 /main.go | |
| parent | possible db schema for community (diff) | |
| download | lphub-91a7475abde54a342510fc481f3294a4d1f507d0.tar.gz lphub-91a7475abde54a342510fc481f3294a4d1f507d0.tar.bz2 lphub-91a7475abde54a342510fc481f3294a4d1f507d0.zip | |
finalize swagger, port to prod machine (#34)
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -20,7 +20,7 @@ import ( | |||
| 20 | // @license.name GNU General Public License, Version 2 | 20 | // @license.name GNU General Public License, Version 2 |
| 21 | // @license.url https://www.gnu.org/licenses/old-licenses/gpl-2.0.html | 21 | // @license.url https://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
| 22 | 22 | ||
| 23 | // @host localhost:4000/api | 23 | // @host lp.ardapektezol.com/api |
| 24 | // @BasePath /v1 | 24 | // @BasePath /v1 |
| 25 | func main() { | 25 | func main() { |
| 26 | if os.Getenv("ENV") == "PROD" { | 26 | if os.Getenv("ENV") == "PROD" { |