Skip to content

best way to save what you love

api/tiktok: update domain because dns records for main one are gone

wukkoef687750b41a
diff --git a/api/src/processing/services/tiktok.js b/api/src/processing/services/tiktok.js
index 6978e071..6fec01d8 100644
--- a/api/src/processing/services/tiktok.js
+++ b/api/src/processing/services/tiktok.js
@@ -30,7 +30,7 @@ export default async function(obj) {
if (!postId) return { error: "fetch.short_link" };
// should always be /video/, even for photos
- const res = await fetch(`https://tiktok.com/@i/video/${postId}`, {
+ const res = await fetch(`https://www.tiktok.com/@i/video/${postId}`, {
headers: {
"user-agent": genericUserAgent,
cookie,