File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ NEXT_PUBLIC_IS_PUBLIC_PREVIEW=true
99NEXT_PUBLIC_WALLET_INSTALL = https://chrome.google.com/webstore/detail/fuel-wallet/dldjpboieedgcmpkchcjcbijingjcgok
1010NEXT_PUBLIC_WALLET_INSTALL_NEXT = https://next-wallet.fuel.network/docs/install/ # install-from-source-code
1111
12+ # SEO
13+ SEO_DISABLED = true
14+
1215# Explorer API URL
1316FUEL_EXPLORER_API =
1417FUEL_EXPLORER_API_KEY =
Original file line number Diff line number Diff line change @@ -18,6 +18,22 @@ const config = {
1818 eslint : {
1919 ignoreDuringBuilds : true ,
2020 } ,
21+ async headers ( ) {
22+ const headers = [ ] ;
23+ if ( process . env . SEO_DISABLED === 'true' ) {
24+ headers . push ( {
25+ headers : [
26+ {
27+ key : 'X-Robots-Tag' ,
28+ value : 'noindex' ,
29+ } ,
30+ ] ,
31+ source : '/:path*' ,
32+ } ) ;
33+ }
34+
35+ return headers ;
36+ } ,
2137 redirects : async ( ) => {
2238 return [
2339 {
You can’t perform that action at this time.
0 commit comments