mirror of
https://github.com/arkorty/Osborne.git
synced 2026-03-17 16:51:44 +00:00
ui fixes yooooooo
This commit is contained in:
@@ -737,7 +737,7 @@ const Room = () => {
|
|||||||
formData.append("uploadedBy", currentUser.name);
|
formData.append("uploadedBy", currentUser.name);
|
||||||
|
|
||||||
// Upload file to HTTP server
|
// Upload file to HTTP server
|
||||||
const response = await fetch(`${httpUrl}/o/upload`, {
|
const response = await fetch(`${httpUrl}/upload`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: formData,
|
body: formData,
|
||||||
});
|
});
|
||||||
@@ -765,7 +765,7 @@ const Room = () => {
|
|||||||
const httpUrl = process.env.NEXT_PUBLIC_HTTP_URL || "http://localhost:8090";
|
const httpUrl = process.env.NEXT_PUBLIC_HTTP_URL || "http://localhost:8090";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await fetch(`${httpUrl}/o/delete/${roomCode}/${fileId}`, {
|
const response = await fetch(`${httpUrl}/delete/${roomCode}/${fileId}`, {
|
||||||
method: "DELETE",
|
method: "DELETE",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user