Skip to content

Commit f569791

Browse files
authored
Fix endpoint for local deploy json output
1 parent b0a467f commit f569791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/local/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ func UpdateAPI(apiConfig *userconfig.API, configPath string, projectID string, d
129129
func toAPIResponse(api *spec.API) *schema.APIResponse {
130130
return &schema.APIResponse{
131131
Spec: *api,
132-
Endpoint: fmt.Sprintf("http://localhost:%d", api.Networking.LocalPort),
132+
Endpoint: fmt.Sprintf("http://localhost:%d", *api.Networking.LocalPort),
133133
}
134134
}
135135

0 commit comments

Comments
 (0)