Skip to content

Commit

Permalink
Merge pull request #13 from van1164/main
Browse files Browse the repository at this point in the history
feat
  • Loading branch information
van1164 committed Nov 16, 2023
2 parents 5598df6 + bcb7758 commit 68809e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/route/LogOut.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import LoginPage from "./LoginPage.svelte";
import axios from 'axios'
let header = sessionStorage.getItem("access-code")
axios.get("http://localhost:8080/api/auth/logout",{
axios.get("https://khumon-edu.kro.kr/api/auth/logout",{
headers:{"Authorization":"Bearer " + header},
}).then(
response => console.log(response)
Expand Down
2 changes: 1 addition & 1 deletion src/route/MainPage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
let id = sessionStorage.getItem("id")
let accessCode = sessionStorage.getItem("access-code")
let nickName = sessionStorage.getItem("nickName")
axios.get("http://localhost:8080/api/learning-materials",{
axios.get("https://khumon-edu.kro.kr/api/learning-materials",{
headers:{"Authorization":"Bearer " + accessCode},
}).then(
response => console.log(response)
Expand Down

0 comments on commit 68809e0

Please sign in to comment.