diff --git a/config.json b/config/config.json similarity index 100% rename from config.json rename to config/config.json diff --git a/docker-compose.yml b/docker-compose.yml index f3f0f58..32abc79 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,4 +12,4 @@ services: ports: - 3000:3000 volumes: - - ./config.json:/usr/src/app/config.json + - ./:/usr/src/app/config diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 74a11ed..8c4d783 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,7 +1,7 @@ import { Inter } from "next/font/google"; import "./globals.css"; -import Config from "../../config.json"; +import Config from "../../config/config.json"; const inter = Inter({ subsets: ["latin"] }); diff --git a/src/app/page.tsx b/src/app/page.tsx index b3a26b7..7c94ebd 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,5 +1,5 @@ import Image from "next/image"; -import Config from "../../config.json"; +import Config from "../../config/config.json"; export default function Home() { return (