Skip to content

Commit

Permalink
Merge pull request #694 from haqq-network/dev
Browse files Browse the repository at this point in the history
release
  • Loading branch information
kioqq authored Feb 13, 2024
2 parents 3f97a21 + daa07b4 commit b4655e6
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions apps/islamic-website/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,26 @@ const nextConfig = {
},
];
},
async headers() {
return [
{
source: '/api/ingest/:path*',
headers: [
{ key: 'Access-Control-Allow-Credentials', value: 'true' },
{ key: 'Access-Control-Allow-Origin', value: '*' },
{
key: 'Access-Control-Allow-Methods',
value: 'GET,POST',
},
{
key: 'Access-Control-Allow-Headers',
value:
'X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version',
},
],
},
];
},
};

const plugins = [withNx, withNextIntl('./i18n.ts')];
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import {
RatingBadge,
WalletDownloadButton,
} from '@haqq/islamic-website-ui-kit';
import phoneImgData from '../assets/images/wallet-iphone-screenshot.webp';
import bgImgData from '../assets/images/wallet_bg.webp';
import phoneImgData from '../assets/images/wallet_phone.webp';

export function WalletPage() {
const t = useTranslations('wallet-page');
Expand Down

0 comments on commit b4655e6

Please sign in to comment.