修改资源URL模式,不再存储https://domain 前缀

This commit is contained in:
2025-10-25 12:19:53 +08:00
parent f94ef73518
commit e4339a5b91
27 changed files with 347 additions and 137 deletions
@@ -1,6 +1,6 @@
import { ThumbsUp, X } from "lucide-react";
import { useState } from "react";
import type { Comment, User } from "../types";
import type { Comment, User } from "../types.ts";
import { formatRelativeTime, formatAbsoluteUTC } from "../utils";
import { CommentText } from "./CommentText";
@@ -1,6 +1,6 @@
import { X } from "lucide-react";
import { useState, useEffect, useRef, useCallback } from "react";
import type { Comment, User } from "../types";
import type { Comment, User } from "../types.ts";
import { CommentList } from "./CommentList";
interface CommentPanelProps {
@@ -1,5 +1,5 @@
import { forwardRef, useEffect, useRef, useState } from "react";
import type { ImageData } from "../types";
import type { ImageData } from "../types.ts";
interface ImageCarouselProps {
images: ImageData["images"];
@@ -14,7 +14,7 @@ import {
VolumeX,
} from "lucide-react";
import type { RefObject } from "react";
import type { LoopMode, ObjectFit, User } from "../types";
import type { LoopMode, ObjectFit, User } from "../types.ts";
import { formatRelativeTime, formatTime, formatAbsoluteUTC } from "../utils";
import { ProgressBar } from "./ProgressBar";
import { SegmentedProgressBar } from "./SegmentedProgressBar";
@@ -1,5 +1,5 @@
import { ChevronDown, ChevronUp, MessageSquareText, ThumbsUp } from "lucide-react";
import type { Neighbors } from "../types";
import type { Neighbors } from "../types.ts";
interface NavigationButtonsProps {
neighbors: Neighbors;
@@ -1,5 +1,5 @@
import { forwardRef } from "react";
import type { ObjectFit } from "../types";
import type { ObjectFit } from "../types.ts";
interface VideoPlayerProps {
videoUrl: string;