From 0c320d3aebaa617389b578915adf9cc7ce224be3 Mon Sep 17 00:00:00 2001 From: Lajos Koszti Date: Fri, 24 May 2024 11:37:01 +0200 Subject: [PATCH] feat: update webExternalURL in Makefile run command The URL is now set to `http://localhost:8080/api` instead of just `/api`. This change ensures the correct base URL is used when running the application locally. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3aa91d8..963fca8 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ BUILD_ARGS=-trimpath -ldflags '-w -s' all: clean linux run: - @cd cmd/sekret.link && POSTGRES_URL="postgres://postgres:password@localhost:5432/sekret_link_test?sslmode=disable" go run . -webExternalURL=/api + @cd cmd/sekret.link && POSTGRES_URL="postgres://postgres:password@localhost:5432/sekret_link_test?sslmode=disable" go run . -webExternalURL=http://localhost:8080/api .PHONY: build build: build/${BINARY_NAME}.linux.amd64