Skip to content

Commit

Permalink
try fix api connexion, modif var api url dans github
Browse files Browse the repository at this point in the history
  • Loading branch information
Khagou committed Mar 23, 2024
1 parent bddb656 commit 03ba8ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/prod-front.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: khagu-dev-front
image: "europe-west1-docker.pkg.dev/khagu-devops/khagu-dev-images-registry/khagu-dev-front:1.1.7" # Remplacer par votre repo
image: "europe-west1-docker.pkg.dev/khagu-devops/khagu-dev-images-registry/khagu-dev-front:1.1.8" # Remplacer par votre repo
ports:
- containerPort: 80
- containerPort: 7000
Expand Down
3 changes: 2 additions & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ app.use('/api', createProxyMiddleware({
target: 'http://back-service.default.svc.cluster.local:7000',
changeOrigin: true,
}));

app.use("/api/tech", techRoutes);
app.use("/api/images", imagesRoutes);
app.use("/api/article", articleRoutes);



app.post("/send_mail", cors(), async (req, res) => {
let { nom } = req.body;
let { prenom } = req.body;
Expand Down
2 changes: 1 addition & 1 deletion server/prod-back.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: khagu-dev-back
image: "europe-west1-docker.pkg.dev/khagu-devops/khagu-dev-images-registry/khagu-dev-back:1.0.9.1" # Remplacer par votre repo
image: "europe-west1-docker.pkg.dev/khagu-devops/khagu-dev-images-registry/khagu-dev-back:1.0.9.2" # Remplacer par votre repo
ports:
- containerPort: 7000
---
Expand Down

0 comments on commit 03ba8ae

Please sign in to comment.