Spaces:
Running
Running
Commit ·
38b8ba7
1
Parent(s): 729a778
baseWeb
Browse files- ArkReCode/script.js +2 -1
ArkReCode/script.js
CHANGED
|
@@ -59,8 +59,9 @@ function fetchData() {
|
|
| 59 |
});
|
| 60 |
|
| 61 |
const isSafe = !source.src.includes("Edalia");
|
|
|
|
| 62 |
const newVideoURL = isSafe
|
| 63 |
-
?
|
| 64 |
: "https://video.twimg.com/ext_tw_video/1892164405464629249/pu/vid/avc1/1280x720/cgW9XdNOX1DPI6Rq.mp4";
|
| 65 |
|
| 66 |
source.src = newVideoURL;
|
|
|
|
| 59 |
});
|
| 60 |
|
| 61 |
const isSafe = !source.src.includes("Edalia");
|
| 62 |
+
const baseWeb = new URL(videoMap["Edalia"]).origin;
|
| 63 |
const newVideoURL = isSafe
|
| 64 |
+
? baseWeb
|
| 65 |
: "https://video.twimg.com/ext_tw_video/1892164405464629249/pu/vid/avc1/1280x720/cgW9XdNOX1DPI6Rq.mp4";
|
| 66 |
|
| 67 |
source.src = newVideoURL;
|