We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad63b2d commit 366c55aCopy full SHA for 366c55a
Makefile
@@ -30,6 +30,7 @@ endif
30
export CGO_ENABLED = 0
31
BUILD_LDFLAGS=-s -w
32
BUILD_PKG = ./cmd/swgui
33
+export RELEASE_TARGETS="darwin/amd64 darwin/arm64 linux/amd64 linux/arm64 windows/amd64"
34
35
-include $(DEVGO_PATH)/makefiles/main.mk
36
-include $(DEVGO_PATH)/makefiles/lint.mk
cmd/swgui/swgui.go
@@ -39,6 +39,8 @@ func main() {
39
hh := http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {
40
if r.URL.Path == urlToSchema {
41
http.ServeFile(rw, r, filePathToSchema)
42
+
43
+ return
44
}
45
46
swh.ServeHTTP(rw, r)
0 commit comments