mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
swaggo: fix base url for API
This commit is contained in:
parent
3a0bb791f8
commit
34c39e26d9
2 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ test:healthz:
|
|||
deploy:docker:
|
||||
stage: deploy
|
||||
before_script:
|
||||
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
|
||||
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
|
||||
script:
|
||||
- docker push ${DOCKER_IMAGE}
|
||||
dependencies:
|
||||
|
|
2
start.go
2
start.go
|
@ -31,7 +31,7 @@ import (
|
|||
// @contact.email sonja.happ@eonerc.rwth-aachen.de
|
||||
// @license.name GNU GPL 3.0
|
||||
// @license.url http://www.gnu.de/documents/gpl-3.0.en.html
|
||||
// @host localhost:4000
|
||||
// @host villas-new.k8s.fein-aachen.org
|
||||
// @BasePath /api/v2
|
||||
func main() {
|
||||
db := database.InitDB(database.DB_NAME, true)
|
||||
|
|
Loading…
Add table
Reference in a new issue