From 6cefb70b31cdc25f64f79de3958721eb309ad797 Mon Sep 17 00:00:00 2001 From: DutchEllie Date: Thu, 24 Mar 2022 13:36:44 +0100 Subject: [PATCH] Fixed the API url in makefile [CI SKIP] --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7b71ece..b204856 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -APIURL_prod := https://api.nicecock.eu/api/comment -APIURL_staging := https://api.nicecock.eu/api/testingcomment +APIURL_prod := https://api.nicecock.eu/api +APIURL_staging := https://api.nicecock.eu/api/testing build: GOARCH=wasm GOOS=js go build -o web/app.wasm -ldflags="-X 'main.ApiURL=${APIURL_staging}'" ./src