cleanup config path
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m5s

This commit is contained in:
Lee 2024-04-18 07:32:21 +01:00
parent 49de624a88
commit 895b2f63c8
4 changed files with 12 additions and 11 deletions

@ -7,10 +7,10 @@ import { ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuTrigger }
import { Colors } from "@/common/colors";
import { generateEmbed } from "@/common/embed";
import { isValidPlayer } from "@/common/player";
import config from "@root/config.json";
import { CachedPlayer, McUtilsAPIError, getPlayer } from "mcutils-library";
import { Metadata, Viewport } from "next";
import { ReactElement } from "react";
import config from "../../../../../config.json";
type Params = {
params: {

@ -7,6 +7,7 @@ import { Colors } from "@/common/colors";
import { generateEmbed } from "@/common/embed";
import { isValidServer } from "@/common/server";
import { capitalizeFirstLetter } from "@/common/string-utils";
import config from "@root/config.json";
import {
CachedBedrockMinecraftServer,
CachedJavaMinecraftServer,
@ -16,7 +17,6 @@ import {
} from "mcutils-library";
import { Metadata, Viewport } from "next";
import { ReactElement } from "react";
import config from "../../../../../../config.json";
type Params = {
params: {

@ -3,9 +3,9 @@ import { Metadata, Viewport } from "next";
import "./globals.css";
import config from "@root/config.json";
import Script from "next/script";
import { ReactElement } from "react";
import Config from "../../config.json";
import Container from "./components/container";
import ThemeProvider from "./components/theme-provider";
import { Toaster } from "./components/ui/toaster";
@ -16,17 +16,17 @@ export const viewport: Viewport = {
};
export const metadata: Metadata = {
metadataBase: new URL(Config.siteUrl),
metadataBase: new URL(config.siteUrl),
title: {
template: Config.siteName + " - %s",
default: Config.siteName,
template: config.siteName + " - %s",
default: config.siteName,
},
description: Config.siteDescription,
description: config.siteDescription,
keywords: "Minecraft, APIs, wrapper, utility, development",
openGraph: {
title: Config.siteName,
description: Config.siteDescription,
url: Config.siteUrl,
title: config.siteName,
description: config.siteDescription,
url: config.siteUrl,
locale: "en_US",
type: "website",
images: [

@ -18,7 +18,8 @@
}
],
"paths": {
"@/*": ["./src/*"]
"@/*": ["./src/*"],
"@root/*": ["./*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],