You've already forked golang-saas-starter-kit
mirror of
https://github.com/raseels-repos/golang-saas-starter-kit.git
synced 2025-08-08 22:36:41 +02:00
Fix web-app reference to web-api docs
This commit is contained in:
@ -25,6 +25,15 @@ ARG name
|
||||
ARG code_path=./cmd/${name}
|
||||
ARG commit_ref=-
|
||||
|
||||
ARG name
|
||||
ENV SERVICE_NAME $name
|
||||
|
||||
ARG env="dev"
|
||||
ENV ENV $env
|
||||
|
||||
ARG gogc="20"
|
||||
ENV GOGC $gogc
|
||||
|
||||
# Copy shared packages.
|
||||
COPY internal ./internal
|
||||
|
||||
|
@ -56,7 +56,7 @@ func (h *Root) SitePage(ctx context.Context, w http.ResponseWriter, r *http.Requ
|
||||
tmpName = "site-api.gohtml"
|
||||
|
||||
// http://127.0.0.1:3001/docs/doc.json
|
||||
swaggerJsonUrl := h.ProjectRoute.ApiDocsJson()
|
||||
swaggerJsonUrl := h.ProjectRoute.ApiDocsJson(true)
|
||||
|
||||
// Load the json file from the API service.
|
||||
res, err := pester.Get(swaggerJsonUrl)
|
||||
|
Reference in New Issue
Block a user