Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
use goproxy.cn
Browse files Browse the repository at this point in the history
  • Loading branch information
M3chD09 committed Jun 24, 2020
1 parent e4796ce commit d238712
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_go.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh
cp main.go main.go.org
sed -i 's/http.Dir(\".\/frontend\/dist\/\")/assetFS()/g' main.go
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
go get github.com/go-bindata/go-bindata/...
go get github.com/elazarl/go-bindata-assetfs/...
go-bindata-assetfs -prefix frontend frontend/dist/...
Expand Down

0 comments on commit d238712

Please sign in to comment.