diff --git a/src/route/DetailPage.svelte b/src/route/DetailPage.svelte index 12f44a8..851e1dc 100644 --- a/src/route/DetailPage.svelte +++ b/src/route/DetailPage.svelte @@ -2,6 +2,8 @@ import {Button,Popover,Heading,Video, Card,P} from 'flowbite-svelte'; let isOpenedAnswer = false; + + const changeIsOpenedAnswer = () => { isOpenedAnswer = !isOpenedAnswer; } diff --git a/src/route/Upload.svelte b/src/route/Upload.svelte index f15a552..747abd0 100644 --- a/src/route/Upload.svelte +++ b/src/route/Upload.svelte @@ -42,7 +42,7 @@ function send(){ - axios.post("http://localhost:8080/api/learning-material",{ + axios.post("https://khumon-edu.kro.kr/api/learning-material",{ media:file, data:JSON.stringify({"title":title, "content":content}) },