Skip to content

Commit

Permalink
fixed default vite port number
Browse files Browse the repository at this point in the history
  • Loading branch information
torenware committed Jul 22, 2022
1 parent ee677b1 commit 5490be0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions asset-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,6 @@ func (vg *VueGlue) guardedFileServer(serveDir fs.FS) http.Handler {
w.WriteHeader(http.StatusNotFound)
return
}

// temp
items, _ := fs.Glob(newDir, "*")
log.Println(items)
// end temp

loggingFS = logRequest(http.FileServer(http.FS(newDir)))
fileServer = loggingFS

Expand Down
2 changes: 1 addition & 1 deletion vueglue.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
const (
DEFAULT_VITE_VERSION = "3"
DEFAULT_PORT_V2 = "3000"
DEFAULT_PORT_V3 = "5173"
DEFAULT_PORT_V3 = "5137"
)

// type ViteConfig passes info needed to generate the library's
Expand Down

0 comments on commit 5490be0

Please sign in to comment.