fixed improper route in media gallery
This commit is contained in:
parent
8ca1cce26b
commit
5ea310b526
@ -13,7 +13,7 @@ function MediaGallery({ kaNumber, token, onInsertMedia, isOpen, onToggle }) {
|
||||
|
||||
const fetchMedia = async () => {
|
||||
try {
|
||||
const response = await fetch(`http://localhost:9000/api/articles/${kaNumber}/media`, {
|
||||
const response = await fetch(`/api/articles/${kaNumber}/media`, {
|
||||
headers: {
|
||||
'Authorization': `Bearer ${token}`
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user