cleanup config path
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m5s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m5s
This commit is contained in:
parent
49de624a88
commit
895b2f63c8
@ -7,10 +7,10 @@ import { ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuTrigger }
|
|||||||
import { Colors } from "@/common/colors";
|
import { Colors } from "@/common/colors";
|
||||||
import { generateEmbed } from "@/common/embed";
|
import { generateEmbed } from "@/common/embed";
|
||||||
import { isValidPlayer } from "@/common/player";
|
import { isValidPlayer } from "@/common/player";
|
||||||
|
import config from "@root/config.json";
|
||||||
import { CachedPlayer, McUtilsAPIError, getPlayer } from "mcutils-library";
|
import { CachedPlayer, McUtilsAPIError, getPlayer } from "mcutils-library";
|
||||||
import { Metadata, Viewport } from "next";
|
import { Metadata, Viewport } from "next";
|
||||||
import { ReactElement } from "react";
|
import { ReactElement } from "react";
|
||||||
import config from "../../../../../config.json";
|
|
||||||
|
|
||||||
type Params = {
|
type Params = {
|
||||||
params: {
|
params: {
|
||||||
|
@ -7,6 +7,7 @@ import { Colors } from "@/common/colors";
|
|||||||
import { generateEmbed } from "@/common/embed";
|
import { generateEmbed } from "@/common/embed";
|
||||||
import { isValidServer } from "@/common/server";
|
import { isValidServer } from "@/common/server";
|
||||||
import { capitalizeFirstLetter } from "@/common/string-utils";
|
import { capitalizeFirstLetter } from "@/common/string-utils";
|
||||||
|
import config from "@root/config.json";
|
||||||
import {
|
import {
|
||||||
CachedBedrockMinecraftServer,
|
CachedBedrockMinecraftServer,
|
||||||
CachedJavaMinecraftServer,
|
CachedJavaMinecraftServer,
|
||||||
@ -16,7 +17,6 @@ import {
|
|||||||
} from "mcutils-library";
|
} from "mcutils-library";
|
||||||
import { Metadata, Viewport } from "next";
|
import { Metadata, Viewport } from "next";
|
||||||
import { ReactElement } from "react";
|
import { ReactElement } from "react";
|
||||||
import config from "../../../../../../config.json";
|
|
||||||
|
|
||||||
type Params = {
|
type Params = {
|
||||||
params: {
|
params: {
|
||||||
|
@ -3,9 +3,9 @@ import { Metadata, Viewport } from "next";
|
|||||||
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
|
|
||||||
|
import config from "@root/config.json";
|
||||||
import Script from "next/script";
|
import Script from "next/script";
|
||||||
import { ReactElement } from "react";
|
import { ReactElement } from "react";
|
||||||
import Config from "../../config.json";
|
|
||||||
import Container from "./components/container";
|
import Container from "./components/container";
|
||||||
import ThemeProvider from "./components/theme-provider";
|
import ThemeProvider from "./components/theme-provider";
|
||||||
import { Toaster } from "./components/ui/toaster";
|
import { Toaster } from "./components/ui/toaster";
|
||||||
@ -16,17 +16,17 @@ export const viewport: Viewport = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
metadataBase: new URL(Config.siteUrl),
|
metadataBase: new URL(config.siteUrl),
|
||||||
title: {
|
title: {
|
||||||
template: Config.siteName + " - %s",
|
template: config.siteName + " - %s",
|
||||||
default: Config.siteName,
|
default: config.siteName,
|
||||||
},
|
},
|
||||||
description: Config.siteDescription,
|
description: config.siteDescription,
|
||||||
keywords: "Minecraft, APIs, wrapper, utility, development",
|
keywords: "Minecraft, APIs, wrapper, utility, development",
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: Config.siteName,
|
title: config.siteName,
|
||||||
description: Config.siteDescription,
|
description: config.siteDescription,
|
||||||
url: Config.siteUrl,
|
url: config.siteUrl,
|
||||||
locale: "en_US",
|
locale: "en_US",
|
||||||
type: "website",
|
type: "website",
|
||||||
images: [
|
images: [
|
||||||
|
@ -18,7 +18,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": ["./src/*"],
|
||||||
|
"@root/*": ["./*"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
||||||
|
Loading…
Reference in New Issue
Block a user