From a29e63eb71767679988701c6608d49d0a287a841 Mon Sep 17 00:00:00 2001 From: Daniel Ponte Date: Mon, 16 Dec 2024 16:19:41 -0500 Subject: [PATCH] Fix client path --- Makefile | 12 ++++++------ client/client.go | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index f4a4faa..a0a54b2 100644 --- a/Makefile +++ b/Makefile @@ -4,21 +4,21 @@ BUILDDATE!=date '+%Y%m%d' LDFLAGS=-ldflags="-X '${VPKG}.Version=${VER}' -X '${VPKG}.Built=${BUILDDATE}'" GOFLAGS=-v -all: client/admin/dist +all: client/stillbox/dist go build -o stillbox ${GOFLAGS} ${LDFLAGS} ./cmd/stillbox/ go build -o calls ${GOFLAGS} ${LDFLAGS} ./cmd/calls/ buildpprof: go build -o stillbox-pprof ${GOFLAGS} ${LDFLAGS} -tags pprof ./cmd/stillbox -client/admin/dist: - cd client/admin && npm install && ng build -c production +client/stillbox/dist: + cd client/stillbox && npm install && ng build -c production -admin: - cd client/admin && npm install && ng build -c production +web: + cd client/stillbox && npm install && ng build -c production clean: - rm -rf client/calls/ client/admin/dist/ client/admin/node_modules/ + rm -rf client/calls/ client/stillbox/dist/ client/stillbox/node_modules/ rm -f stillbox calls stillbox-pprof generate: diff --git a/client/client.go b/client/client.go index 8dd8972..815ce3d 100644 --- a/client/client.go +++ b/client/client.go @@ -4,7 +4,7 @@ import ( "embed" ) -const Prefix = "admin/dist/admin/browser" +const Prefix = "stillbox/dist/stillbox/browser" -//go:embed admin/dist/admin/browser +//go:embed stillbox/dist/stillbox/browser var Client embed.FS