Skip to content

Commit

Permalink
Fix manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaikh-Ubaid committed Jan 26, 2025
1 parent 0686215 commit 9ad6738
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/layout.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Geist, Geist_Mono } from "next/font/google";
import manifest from "@/public/manifest.json";
import "./globals.css";

const geistSans = Geist({
Expand All @@ -15,7 +14,7 @@ const geistMono = Geist_Mono({
export const metadata = {
title: "WhatsAny1",
description: "Instant WhatsApp chat links",
manifest: manifest.src,
manifest: process.env.NODE_ENV === 'production' ? '/whatsany1/manifest.json' : '/manifest.json',
};

export default function RootLayout({ children }) {
Expand Down

0 comments on commit 9ad6738

Please sign in to comment.