c187cd22ed
- Implement the full login and onboarding workflow to handle name, handle, and avatar. - Rewrite avatar asset URLs to route through the self-hosted media service. - Add Next.js rewrites configuration to proxy media requests directly to the FastAPI backend.
13 lines
310 B
TypeScript
13 lines
310 B
TypeScript
"use client";
|
|
|
|
import React from "react";
|
|
import { GraphqlProvider } from "./ApolloProvider";
|
|
|
|
export function Providers({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<GraphqlProvider>
|
|
{/* 在这里可以继续嵌套其他全局 Provider */}
|
|
{children}
|
|
</GraphqlProvider>
|
|
);
|
|
} |