Skip to content

Commit

Permalink
address visua feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Dec 8, 2022
1 parent fbfef3d commit 237e491
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions assets/dir-index-html/dir-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
</div>
{{ end }}
<p style="margin-bottom: 0">
<a href="?format=json">Preview as JSON.</a> Download as: <a href="?format=car">CAR</a>, <a href="?format=tar">TAR</a>, <a href="?format=dag-json">DAG-JSON</a>, <a href="?format=dag-cbor">DAG-CBOR</a>.
<a rel="nofollow, noindex" href="?format=json">Preview as JSON.</a> Download as: <a rel="nofollow, noindex" href="?format=car">CAR</a>, <a rel="nofollow, noindex" href="?format=tar">TAR</a>, <a rel="nofollow, noindex" href="?format=dag-json">DAG-JSON</a>, <a rel="nofollow, noindex" href="?format=dag-cbor">DAG-CBOR</a>.
</p>
</div>
{{ if .Size }}
<div class="no-linebreak flex-shrink-1 ml-auto">
<strong title="Cumulative Object Size">&nbsp;{{ .Size }}</strong>
<strong title="Cumulative size of IPFS DAG (data + metadata)">&nbsp;{{ .Size }}</strong>
</div>
{{ end }}
</div>
Expand Down Expand Up @@ -92,7 +92,7 @@
</a>
{{ end }}
</td>
<td class="no-linebreak" title="Cumulative Object Size">{{ .Size }}</td>
<td class="no-linebreak" title="Cumulative size of IPFS DAG (data + metadata)">{{ .Size }}</td>
</tr>
{{ end }}
</table>
Expand Down
2 changes: 1 addition & 1 deletion assets/dir-index-html/src/dir-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</div>
{{ end }}
<p style="margin-bottom: 0">
<a href="?format=json">Preview as JSON.</a> Download as: <a href="?format=car">CAR</a>, <a href="?format=tar">TAR</a>, <a href="?format=dag-json">DAG-JSON</a>, <a href="?format=dag-cbor">DAG-CBOR</a>.
<a rel="nofollow, noindex" href="?format=json">Preview as JSON.</a> Download as: <a rel="nofollow, noindex" href="?format=car">CAR</a>, <a rel="nofollow, noindex" href="?format=tar">TAR</a>, <a rel="nofollow, noindex" href="?format=dag-json">DAG-JSON</a>, <a rel="nofollow, noindex" href="?format=dag-cbor">DAG-CBOR</a>.
</p>
</div>
{{ if .Size }}
Expand Down
5 changes: 5 additions & 0 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ config file at runtime.
- [`Gateway.NoDNSLink`](#gatewaynodnslink)
- [`Gateway.HTTPHeaders`](#gatewayhttpheaders)
- [`Gateway.RootRedirect`](#gatewayrootredirect)
- [`Gateway.FastDirIndexThreshold`](#gatewayfastdirindexthreshold)
- [`Gateway.Writable`](#gatewaywritable)
- [`Gateway.PathPrefixes`](#gatewaypathprefixes)
- [`Gateway.PublicGateways`](#gatewaypublicgateways)
Expand Down Expand Up @@ -673,6 +674,10 @@ Default: `""`

Type: `string` (url)

### `Gateway.FastDirIndexThreshold`

**REMOVED**: this option is [no longer necessary](https://github.com/ipfs/kubo/pull/9481).

### `Gateway.Writable`

A boolean to configure whether the gateway is writeable or not.
Expand Down

0 comments on commit 237e491

Please sign in to comment.