api/tiktok: update domain because dns records for main one are gone
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled

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,