Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
fix build
  • Loading branch information
uu-z committed Sep 11, 2024
1 parent a409dfc commit a2afb42
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file added bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test:coverage": "yarn test --coverage --watchAll=false",
"cmp": "./scripts/cmp.sh",
"routes": "node scripts/generate-routes.js > src/config/routes.ts && prettier -w src/config/routes.ts && cat src/config/routes.ts",
"css-vars": "ts-node-esm ./scripts/css-vars.ts > ./src/styles/vars.css && prettier -w src/styles/vars.css",
"css-vars": "npx tsm ./scripts/css-vars.ts > ./src/styles/vars.css && prettier -w src/styles/vars.css",
"generate-types": "typechain --target ethers-v5 --out-dir src/types/contracts ./node_modules/@safe-global/safe-deployments/dist/assets/**/*.json ./node_modules/@safe-global/safe-modules-deployments/dist/assets/**/*.json ./node_modules/@openzeppelin/contracts/build/contracts/ERC20.json ./node_modules/@openzeppelin/contracts/build/contracts/ERC721.json",
"postinstall": "yarn generate-types && yarn css-vars",
"analyze": "cross-env ANALYZE=true yarn build",
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/MetaTags/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { IS_PRODUCTION } from '@/config/constants'
import { ContentSecurityPolicy, StrictTransportSecurity } from '@/config/securityHeaders'
import { StrictTransportSecurity } from '@/config/securityHeaders'
import { lightPalette, darkPalette } from '@safe-global/safe-react-components'

const descriptionText =
Expand All @@ -21,7 +21,7 @@ const MetaTags = ({ prefetchUrl }: { prefetchUrl: string }) => (
<meta name="twitter:image" content="https://app.safe.global/images/social-share.png" />

{/* CSP */}
<meta httpEquiv="Content-Security-Policy" content={ContentSecurityPolicy} />
{/* <meta httpEquiv="Content-Security-Policy" content={ContentSecurityPolicy} /> */}
{IS_PRODUCTION && <meta httpEquiv="Strict-Transport-Security" content={StrictTransportSecurity} />}

{/* Prefetch the backend domain */}
Expand Down

0 comments on commit a2afb42

Please sign in to comment.