Skip to content
Snippets Groups Projects
Commit 41e712b4 authored by Jose Manuel Serrano Amaut's avatar Jose Manuel Serrano Amaut
Browse files

[REF]: Change destination from local to remote

parent 25268bf7
No related branches found
No related tags found
No related merge requests found
......@@ -27,10 +27,10 @@ const FileMosaicImageVideoPreviews: React.FC<
const handleWatch = (videoSource: File | string | undefined) => {
console.log(
"handleWatch videoSource",
"https://www.w3schools.com/tags/movie.mp4"
"https://files-ui-temp-storage.s3.amazonaws.com/2029385a4ed32ff10beeb94c0585e8ac1a8c377c68d22ef25ce5863694a5499e.mp4"
);
//setVideoSrc(videoSource);
setVideoSrc("https://www.w3schools.com/tags/movie.mp4");
setVideoSrc("https://files-ui-temp-storage.s3.amazonaws.com/2029385a4ed32ff10beeb94c0585e8ac1a8c377c68d22ef25ce5863694a5499e.mp4");
};
return (
......@@ -101,8 +101,8 @@ const files: ExtFile[] = [
name: "video-preview.mp4",
type: "video/mp4",
size: 282000,
downloadUrl: "https://www.w3schools.com/tags/movie.mp4",
downloadUrl:
"https://files-ui-temp-storage.s3.amazonaws.com/2029385a4ed32ff10beeb94c0585e8ac1a8c377c68d22ef25ce5863694a5499e.mp4",
},
{
id: 3,
......
......@@ -33,7 +33,7 @@ export default function AdvancedDropzoneDemo() {
async function checkFiles() {
try {
const res = await axios.get(
LOCAL +
REMOTE +
"/file"
);
console.log("checkFiles", res);
......@@ -55,7 +55,7 @@ export default function AdvancedDropzoneDemo() {
uploadConfig={{
/* autoUpload: true */
method: "POST",
url: LOCAL + "/file/28048465460",
url: REMOTE + "/file/28048465460",
//url: "http://localhost:2800/file/28048465460",
cleanOnUpload: true,
}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment