diff --git a/cmd/app/infra/dev/application.conf b/cmd/app/infra/dev/application.conf index c0cca4a..f9960bb 100644 --- a/cmd/app/infra/dev/application.conf +++ b/cmd/app/infra/dev/application.conf @@ -1,7 +1,7 @@ servers: public: listen_addr: :5000 - base_path: / + base_path: /api/ tech: listen_addr: :9000 base_path: "" diff --git a/cmd/app/infra/local/application.conf b/cmd/app/infra/local/application.conf index c0cca4a..f9960bb 100644 --- a/cmd/app/infra/local/application.conf +++ b/cmd/app/infra/local/application.conf @@ -1,7 +1,7 @@ servers: public: listen_addr: :5000 - base_path: / + base_path: /api/ tech: listen_addr: :9000 base_path: "" diff --git a/cmd/app/infra/prod/application.conf b/cmd/app/infra/prod/application.conf index 5e8ed52..7ed0bdc 100644 --- a/cmd/app/infra/prod/application.conf +++ b/cmd/app/infra/prod/application.conf @@ -1,7 +1,7 @@ servers: public: listen_addr: :5000 - base_path: / + base_path: /api/ tech: listen_addr: :9000 base_path: "" diff --git a/cmd/app/main.go b/cmd/app/main.go index 0ca1492..b597a72 100644 --- a/cmd/app/main.go +++ b/cmd/app/main.go @@ -40,7 +40,7 @@ import ( // @license.url http://www.apache.org/licenses/LICENSE-2.0.html // @host localhost:8080 -// @BasePath /bmstu-stud-web/api/ +// @BasePath /api/ // @securityDefinitions.basic BasicAuth