Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
a.nasibullin committed Apr 17, 2024
1 parent af2d52a commit b5b1f6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
build:
context: .
dockerfile: ./docker/api/Dockerfile
image: lmcyber/stud_camp_backend:0.3
image: lmcyber/stud_camp_backend:0.4

ports:
- 8080:8080
Expand All @@ -16,7 +16,7 @@ services:
build:
context: .
dockerfile: ./docker/nginx/Dockerfile
image: lmcyber/stud_camp_nginx:0.3
image: lmcyber/stud_camp_nginx:0.4

ports:
- 80:80
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/API/Fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default async function Fetch({ action, method, body }) {
if (method === HttpMethod.GET) {
data = await fetch(url, {
method: "GET",
credentials: "same-origin",
credentials: "no-cors",
headers: headers,
})
.then((response) => response.json())
Expand All @@ -28,7 +28,7 @@ export default async function Fetch({ action, method, body }) {
} else {
data = await fetch(url, {
method: method,
credentials: "same-origin",
credentials: "no-cors",
headers: headers,
body: body ? JSON.stringify(body) : ""
})
Expand Down

0 comments on commit b5b1f6b

Please sign in to comment.