Skip to content

Commit

Permalink
refactor: change default port to 8170
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasoca committed Jan 20, 2023
1 parent 4ce891e commit 5592e39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func serveHttpServer(port string) {
mux.HandleFunc("/api/v1/generate", handlers.GenerateFileHandler)
mux.HandleFunc("/api/v1/example", handlers.ExampleFileHandler)
if port == "" {
port = "8080"
port = "8170"
log.Printf("defaulting to port %s", port)
}
if err := http.ListenAndServe(":"+port, mux); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"build": "react-app-rewired build",
"test": "react-scripts test --env=jsdom"
},
"proxy": "http://localhost:8080",
"proxy": "http://localhost:8170",
"eslintConfig": {
"extends": [
"react-app",
Expand Down

0 comments on commit 5592e39

Please sign in to comment.