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

closes #1057
This commit is contained in:
wukko 2025-01-18 17:02:24 +06:00
parent ce7d553beb
commit ef687750b4
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -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,