diff --git a/Makefile b/Makefile index 9e42843..0a9a8d3 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ getGoDependencies: buildProject: rm -rf releases mkdir releases - gox -output="releases/{{.Dir}}_{{.OS}}_{{.Arch}}/{{.Dir}}" -osarch="linux/amd64 linux/arm windows/amd64 windows/386" + gox -output="releases/{{.Dir}}_{{.OS}}_{{.Arch}}/{{.Dir}}" -osarch="linux/amd64 linux/arm windows/amd64 windows/386" -ldflags="-X github.com/maxibanki/golang-url-shortener/util.ldFlagNodeJS=`node --version` -X github.com/maxibanki/golang-url-shortener/util.ldFlagCommit=`git rev-parse HEAD` -X github.com/maxibanki/golang-url-shortener/util.ldFlagYarn=`yarn --version` -X github.com/maxibanki/golang-url-shortener/util.ldFlagCompilationTime=`date --iso-8601=seconds`" find releases -maxdepth 1 -mindepth 1 -type d -exec cp build/config.yaml {} \; find releases -maxdepth 1 -mindepth 1 -type d -exec tar -cvjf {}.tar.bz2 {} \; diff --git a/static/package.json b/static/package.json index 8f7066f..6e9d7b0 100644 --- a/static/package.json +++ b/static/package.json @@ -4,12 +4,10 @@ "private": true, "proxy": { "/api": { - "target": "http://127.0.0.1:8080", - "ws": true + "target": "http://127.0.0.1:8080" }, "/d": { - "target": "http://127.0.0.1:8080", - "ws": true + "target": "http://127.0.0.1:8080" } }, "dependencies": {