Skip to content

Commit

Permalink
fix manifest json configs
Browse files Browse the repository at this point in the history
  • Loading branch information
yvesfracari committed Sep 23, 2024
1 parent c24b13d commit 52c7276
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
15 changes: 14 additions & 1 deletion apps/claim-vesting/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ const moduleExports = {
reactCompiler: true,
},
transpilePackages: ["@bleu/cow-hooks-ui"],
async headers() {
return [
{
source: '/manifest.json',
headers: [
{
key: 'Access-Control-Allow-Origin',
value: '*',
},
],
},
];
},
};

module.exports = moduleExports;
module.exports = moduleExports;
5 changes: 3 additions & 2 deletions apps/claim-vesting/public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@
"description": "The Omnibridge can be used to bridge ERC-20 tokens between Ethereum and Gnosis. The first time a token is bridged, a new ERC677 token contract is deployed on GC with an additional suffix to differentiate the token. It will say \"token name on xDai\", as this was the original chain name prior to re-branding. If a token has been bridged previously, the previously deployed contract is used. The requested token amount is minted and sent to the account initiating the transfer (or an alternative receiver account specified by the sender).",
"version": "0.0.1",
"website": "https://omni.legacy.gnosischain.com",
"image": "http://localhost:3000/hook-dapp-omnibridge/apple-touch-icon.png",
"image": "https://wiki.defillama.com/w/images/7/70/LlamaPay.png",
"walletCompatibility": ["EOA", "Smart contract"],
"conditions": {
"position": "post",
"position": "pre",
"smartContractWalletSupported": false
}
}
Expand Down
3 changes: 3 additions & 0 deletions apps/claim-vesting/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import type * as React from "react";
export default function Layout({ children }: { children: React.ReactNode }) {
return (
<html lang="en" className="h-full">
<head>
<link rel="manifest" href="/manifest.json" />
</head>
<body className={"flex h-full flex-col font-sans font-normal"}>
{children}
</body>
Expand Down

0 comments on commit 52c7276

Please sign in to comment.