Fixed the API url in makefile [CI SKIP]

This commit is contained in:
DutchEllie 2022-03-24 13:36:44 +01:00
parent d7c8ff80e4
commit bb163abb0a
Signed by: DutchEllie
SSH Key Fingerprint: SHA256:dKq6ZSgN5E3Viqrw/+xAdf2VdR6hdRGNyrYqXXwfjTY
1 changed files with 2 additions and 2 deletions

View File

@ -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