Skip to content

Commit 29017f7

Browse files
committed
Fixed a path
1 parent cabc789 commit 29017f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/components/paper-sliver.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export default function PaperSliver({
191191

192192
try {
193193
const response = await fetch(
194-
`/api/adminRequest/papers/full/${paperData.id}`,
194+
`http://localhost:3000/api/adminRequest/papers/full/${paperData.id}`,
195195
{
196196
method: "PUT",
197197
headers: {
@@ -241,7 +241,7 @@ export default function PaperSliver({
241241

242242
try {
243243
const response = await fetch(
244-
`/api/adminRequest/papers/${paperData.id}`,
244+
`http://localhost:3000/api/adminRequest/papers/${paperData.id}`,
245245
{
246246
method: "DELETE",
247247
headers: {

0 commit comments

Comments
 (0)