Commit 72e2c20 1 parent 624d931 commit 72e2c20 Copy full SHA for 72e2c20
File tree 2 files changed +19
-0
lines changed
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
9
9
NEXT_PUBLIC_WALLET_INSTALL = https://chrome.google.com/webstore/detail/fuel-wallet/dldjpboieedgcmpkchcjcbijingjcgok
10
10
NEXT_PUBLIC_WALLET_INSTALL_NEXT = https://next-wallet.fuel.network/docs/install/#install-from-source-code
11
11
12
+ # SEO
13
+ SEO_DISABLED = true
14
+
12
15
# Explorer API URL
13
16
FUEL_EXPLORER_API =
14
17
FUEL_EXPLORER_API_KEY =
Original file line number Diff line number Diff line change @@ -18,6 +18,22 @@ const config = {
18
18
eslint : {
19
19
ignoreDuringBuilds : true ,
20
20
} ,
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
+ } ,
21
37
redirects : async ( ) => {
22
38
return [
23
39
{
You can’t perform that action at this time.
0 commit comments