mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 10:20:16 +01:00
Utilisation variables d'env
This commit is contained in:
@@ -2,6 +2,8 @@ import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import SocketProvider from "@/context/socketContext";
|
||||
|
||||
import { PublicEnvScript } from 'next-runtime-env';
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata = {
|
||||
@@ -11,6 +13,9 @@ export const metadata = {
|
||||
export default function RootLayout({ children }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<head>
|
||||
<PublicEnvScript />
|
||||
</head>
|
||||
<SocketProvider>
|
||||
<body className={inter.className + " h-screen"}>{children}</body>
|
||||
</SocketProvider>
|
||||
|
||||
Reference in New Issue
Block a user