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

Commit

Permalink
hotfix1 for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
andrrsin committed May 5, 2023
1 parent e2936ed commit 8638ebd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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:"http://localhost:3000"}))
app.use(cors({origin:"https://localhost:3000"}))


app.use(cookieParser());
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/axios.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import axios from "axios";

export const makeRequest = axios.create({
baseURL: "http://172.162.240.176:8800"
baseURL: "https://172.162.240.176:8800"
});
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="http://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 8638ebd

Please sign in to comment.