File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 4747 # Permanent redirects (301)
4848 rewrite ^/docs/hostedservice/( .*) $ $scheme ://$http_host /docs/en/hosted-service/$1 permanent;
4949 rewrite ^/docs/( ?!( ?:[a-zA-Z][a-zA-Z]|_next|img)( ?:/|$))( .*) $ $scheme ://$http_host /docs/en/$1 permanent; # Redirect to `/en` if no language in URL and not an asset URL
50- rewrite ^/docs/en/substreams/$ $scheme ://$http_host /docs/en/substreams/README/ permanent;
5150
5251 rewrite ^/docs/( [a-zA-Z][a-zA-Z]) /about/introduction/$ $scheme ://$http_host /docs/$1 /about/ permanent;
5352 rewrite ^/docs/( [a-zA-Z][a-zA-Z]) /about/network/$ $scheme ://$http_host /docs/$1 /network/overview/ permanent;
@@ -86,6 +85,10 @@ http {
8685 rewrite ^/docs/( [a-zA-Z][a-zA-Z]) /supported-networks/near/$ $scheme ://$http_host /docs/$1 /cookbook/near/ permanent;
8786 rewrite ^/docs/( [a-zA-Z][a-zA-Z]) /developing/defining-a-subgraph/$ $scheme ://$http_host /docs/$1 /developing/creating-a-subgraph/ permanent;
8887
88+ # Temporary redirects (302)
89+ rewrite ^/docs/en/substreams/$ $scheme ://$http_host /docs/en/substreams/README/ redirect;
90+ rewrite ^/docs/en/firehose/$ $scheme ://$http_host /docs/en/firehose/README/ redirect;
91+
8992 location / {
9093 try_files $uri $uri .html $uri /index .html =404 ;
9194
Original file line number Diff line number Diff line change @@ -52,6 +52,11 @@ export default withNextra({
5252 destination : '/en/substreams/README/' ,
5353 permanent : false ,
5454 } ,
55+ {
56+ source : '/en/firehose/' ,
57+ destination : '/en/firehose/README/' ,
58+ permanent : false ,
59+ } ,
5560 ] ,
5661 webpack ( config ) {
5762 config . module . rules . push ( {
You can’t perform that action at this time.
0 commit comments