diff --git a/src/apps/officer-web/Screens/Authentication/Layout/DuckAvatar/DuckModel.tsx b/src/apps/officer-web/Screens/Authentication/Layout/DuckAvatar/DuckModel.tsx index 98062a63..9cf33945 100644 --- a/src/apps/officer-web/Screens/Authentication/Layout/DuckAvatar/DuckModel.tsx +++ b/src/apps/officer-web/Screens/Authentication/Layout/DuckAvatar/DuckModel.tsx @@ -8,8 +8,8 @@ type DuckModelProps = { }; export function DuckModel({ onUpdate, onAssetsLoaded, currentSection }: DuckModelProps) { - const character = useGLTF('/static/duck3D/Character_output.glb'); - const animations = useGLTF('/static/duck3D/Meshy_Merged_Animations.glb'); + const character = useGLTF('https://static.officer.dev/duck3D/Character_output.glb'); + const animations = useGLTF('https://static.officer.dev/duck3D/Meshy_Merged_Animations.glb'); const meshRef = useRef(null); const { actions } = useAnimations(animations.animations, meshRef); diff --git a/src/apps/officer-web/Screens/Dashboard/Layout/Header/Header.tsx b/src/apps/officer-web/Screens/Dashboard/Layout/Header/Header.tsx index 0a60c03a..1003b6bb 100644 --- a/src/apps/officer-web/Screens/Dashboard/Layout/Header/Header.tsx +++ b/src/apps/officer-web/Screens/Dashboard/Layout/Header/Header.tsx @@ -31,7 +31,7 @@ export function Header({ dockItems }: HeaderProps) { )} Officer { - const path = new URL(req.url).pathname.slice('/static'.length); - const file = Bun.file(`public${path}`); - if (await file.exists()) return new Response(file); - return new Response(null, { status: 404 }); - }, - '/api/dev-server-proxy/*': (req, server) => { +'/api/dev-server-proxy/*': (req, server) => { if (req.headers.get('upgrade') === 'websocket') return upgradeDevServerWs(req, server); return honoServer.fetch(req, server); }, diff --git a/src/workspaces/components/Logos/DevSvgLogo.tsx b/src/workspaces/components/Logos/DevSvgLogo.tsx index a19fd4fc..ba74fd07 100644 --- a/src/workspaces/components/Logos/DevSvgLogo.tsx +++ b/src/workspaces/components/Logos/DevSvgLogo.tsx @@ -7,7 +7,7 @@ export function OfficerIconLogo({ size = 'xl' }: SvgLogoProps) { return ( Officer Icon diff --git a/src/workspaces/components/Logos/PastilhasSvgLogo.tsx b/src/workspaces/components/Logos/PastilhasSvgLogo.tsx index 2509d7c9..e8c00044 100644 --- a/src/workspaces/components/Logos/PastilhasSvgLogo.tsx +++ b/src/workspaces/components/Logos/PastilhasSvgLogo.tsx @@ -16,7 +16,7 @@ export function OfficerSvgLogoRegular({ size = 'xl' }: SvgLogoProps) { return ( Officer Logo @@ -28,7 +28,7 @@ export function OfficerSvgLogoSquare({ size = 'xl' }: SvgLogoProps) { return ( Officer Logo diff --git a/src/workspaces/emailer/emails/layouts/MainLayout.tsx b/src/workspaces/emailer/emails/layouts/MainLayout.tsx index c9249bde..413667e0 100644 --- a/src/workspaces/emailer/emails/layouts/MainLayout.tsx +++ b/src/workspaces/emailer/emails/layouts/MainLayout.tsx @@ -10,7 +10,7 @@ const MainLayout = ({ children }: { children: ReactNode }) => { Officer Logo