serve static assets from local public/ instead of static.officer.dev, simplify gmail history 404/410 handling
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { DuckAvatar } from "./DuckAvatar";
|
||||
import { PixelGrid } from "@/components/PixelGrid";
|
||||
import { useGlobal } from 'hooks/useGlobal';
|
||||
const landscapebg = 'https://static.officer.dev/landscape1.webp';
|
||||
const landscapebg = '/landscape1.webp';
|
||||
|
||||
export function Background() {
|
||||
const [duckHidden] = useGlobal('DUCK_HIDDEN', false);
|
||||
|
||||
@@ -8,8 +8,8 @@ type DuckModelProps = {
|
||||
};
|
||||
|
||||
export function DuckModel({ onUpdate, onAssetsLoaded, currentSection }: DuckModelProps) {
|
||||
const character = useGLTF('https://static.officer.dev/duck3D/Character_output.glb');
|
||||
const animations = useGLTF('https://static.officer.dev/duck3D/Meshy_Merged_Animations.glb');
|
||||
const character = useGLTF('/duck3D/Character_output.glb');
|
||||
const animations = useGLTF('/duck3D/Meshy_Merged_Animations.glb');
|
||||
const meshRef = useRef<any>(null);
|
||||
const { actions } = useAnimations(animations.animations, meshRef);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user