We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74e8b0f commit f3fc2e5Copy full SHA for f3fc2e5
api.js
@@ -1,4 +1,4 @@
1
-const API_URL = 'http://localhost:4444'; //url do app, vou add dps
+const API_URL = 'http://localhost:8080'; //url do app, vou add dps
2
3
export const productService = {
4
async getProducts() {
cmd/main.go
@@ -9,7 +9,7 @@ import (
9
"github.com/gorilla/mux"
10
)
11
12
-const defaultPort = "4444"
+const defaultPort = "8080"
13
14
func main() {
15
r := setupRoutes()
dockerfile
@@ -5,7 +5,7 @@ COPY . .
5
RUN go mod download
6
RUN go build -o main cmd/main.go
7
8
-EXPOSE 4444
+EXPOSE 8080
CMD ["./main"]
0 commit comments