Skip to content

Commit 3f1f445

Browse files
committed
fix: remove NODE_OPTIONS openssl workaround
1 parent 39cc3d8 commit 3f1f445

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ DOCKER_WORKDIR=/proj
1212
DOCKER_RUN=docker run --rm -e LD_FLAGS="$$LD_FLAGS" -v "$$PWD/.:${DOCKER_WORKDIR}" -v "`go env GOPATH`/pkg/mod/.:/go/pkg/mod:ro" -w ${DOCKER_WORKDIR}
1313
DOCKER_GO_BUILD=go build -mod=readonly -a -installsuffix cgo -ldflags "$$LD_FLAGS"
1414
DOCKER_TEST_LEVEL ?= 0 # Optionally run a test during docker build
15-
NODE_OPTIONS=$(shell if node --help | grep -q -- "--openssl-legacy-provider"; then echo --openssl-legacy-provider; fi)
1615

1716
test: test-coverage test-js
1817
check: check-go check-swagger check-js
@@ -116,7 +115,7 @@ _build_within_docker:
116115
${DOCKER_GO_BUILD} -o ${OUTPUT}
117116

118117
build-js:
119-
(cd ui && NODE_OPTIONS="${NODE_OPTIONS}" yarn build)
118+
(cd ui && yarn build)
120119

121120
build-linux-amd64:
122121
${DOCKER_RUN} ${DOCKER_BUILD_IMAGE}:$(GO_VERSION)-linux-amd64 make _build_within_docker OUTPUT=${BUILD_DIR}/gotify-linux-amd64

0 commit comments

Comments
 (0)