mcde: try GOPROXY=direct for dtchat-whatsapp when proxy is blocked

This commit is contained in:
lotherk committed 2026-11-17 16:05:10 +00:00
1 parent 38d293c454
commit 6f23f4e232
1 file changed
+1 -1
+1 -1
View File
@@ -54,7 +54,7 @@ all-local: dtchat-whatsapp
dtchat-whatsapp: $(srcdir)/whatsapp_adapter/main.go \
$(srcdir)/whatsapp_adapter/go.mod $(srcdir)/whatsapp_adapter/go.sum
cd $(srcdir)/whatsapp_adapter && \
GOFLAGS=-mod=mod GOSUMDB=off $(GO) build -o "$(abs_builddir)/dtchat-whatsapp" .
GOFLAGS=-mod=mod GOSUMDB=off GOPROXY=direct $(GO) build -o "$(abs_builddir)/dtchat-whatsapp" .
clean-local:
rm -f dtchat-whatsapp
install-exec-hook: dtchat-whatsapp