Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Commit

Permalink
Hotfix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
andrrsin committed May 7, 2023
1 parent 8638ebd commit 942282a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
restapi:
build: ./restapi
ports:
- "5000:5000"
- "8800:8800"
webapp:
build: ./webapp
ports:
Expand Down
2 changes: 1 addition & 1 deletion restapi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ mongoose.connect("mongodb+srv://asw2b:[email protected]/?retryWrit
);


app.use(cors({origin:"https://localhost:3000"}))
app.use(cors({origin:"https://172.162.240.176:3000"}))


app.use(cookieParser());
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/pages/login/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Login = () => {
InputProps={{
endAdornment: (
<LoginButton oidcIssuer={idp}
redirectUrl="https://172.162.240.176:3000/main"
redirectUrl="https://172.162.240.176:3000/main/"
onError={console.error}>
<Button variant="contained">
Login
Expand Down

0 comments on commit 942282a

Please sign in to comment.