Skip to content

Commit

Permalink
Remove obsolete redirects and comments (#2)
Browse files Browse the repository at this point in the history
Remove obsolete store redirects 
Remove some comments from next.config.js
  • Loading branch information
catalinred authored Jul 30, 2024
1 parent 66dac8d commit c74e83a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
14 changes: 0 additions & 14 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,7 @@ const { i18n } = require("./next-i18next.config");
const rewritesAndRedirectsJson = require("./rewrites-redirects.json");
const { builder } = require("@builder.io/sdk");

// Security Headers
// https://nextjs.org/docs/advanced-features/security-headers
// const ContentSecurityPolicy = `
// default-src 'self';
// script-src 'self';
// child-src solana.com;
// style-src 'self' solana.com;
// font-src 'self';
// `;

const securityHeaders = [
// {
// key: "Content-Security-Policy",
// value: ContentSecurityPolicy.replace(/\s{2,}/g, " ").trim(),
// },
{
key: "X-Frame-Options",
value: "SAMEORIGIN",
Expand Down
2 changes: 0 additions & 2 deletions rewrites-redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@
"source": "/dev-update",
"destination": "https://solana.us17.list-manage.com/subscribe?u=dc5b8a6eb6dc3d737579c03c9&id=4a4784c804"
},
{ "source": "/store", "destination": "https://store.solana.com/" },
{ "source": "/shop", "destination": "https://store.solana.com/" },
{ "source": "/ignition", "destination": "/hackathon" },
{ "source": "/solanaszn", "destination": "/hackathon" },
{ "source": "/wormhole-hackathon", "destination": "/hackathon" },
Expand Down

0 comments on commit c74e83a

Please sign in to comment.