Skip to content

Commit

Permalink
fix: rsc missing env and refactor bad types
Browse files Browse the repository at this point in the history
  • Loading branch information
lewxdev committed Aug 27, 2024
1 parent 2900734 commit c726a24
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ import {
APP_NAME,
APP_THEME_COLOR_DARK,
APP_THEME_COLOR_LIGHT,
APP_URL,
} from "@/utils/const";
import "@/globals.css";

const APP_URL = new URL(process.env["BASE_URL"]!);

export const metadata: Metadata = {
title: APP_NAME,
description: APP_DESCRIPTION,
Expand Down
1 change: 0 additions & 1 deletion app/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export default function manifest(): MetadataRoute.Manifest {
src: "icon-maskable.svg",
sizes: "any",
type: "image/svg+xml",
purpose: "any maskable" as "maskable",
},
{
src: "icon-monochrome.svg",
Expand Down
1 change: 0 additions & 1 deletion app/utils/const.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export const APP_NAME = "mmmines!";
export const APP_DESCRIPTION =
"an endless, massive multiplayer minesweeper game";
export const APP_URL = new URL(process.env["BASE_URL"]!);
export const APP_THEME_COLOR_DARK = "#020617";
export const APP_THEME_COLOR_LIGHT = "#ffffff";

0 comments on commit c726a24

Please sign in to comment.