Some more info in UI
This commit is contained in:
parent
3af98bda0a
commit
0a3b412d17
|
@ -11,8 +11,6 @@
|
|||
</p>
|
||||
% }
|
||||
|
||||
|
||||
|
||||
% if (scalar @$tokens == 0) {
|
||||
<p>Seems like there's nothing here.</p>
|
||||
% } else {
|
||||
|
@ -37,3 +35,13 @@
|
|||
<a href="/my/tokens/generate">
|
||||
Generate Token
|
||||
</a>
|
||||
|
||||
<p>
|
||||
To use this pinning service with your local IPFS node, point
|
||||
your IPFS node at the endpoint <b><%= url_for('/api')->to_abs %></b>
|
||||
and give it the generated access token.
|
||||
<br>
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://docs.ipfs.tech/how-to/work-with-pinning-services/">More info on pinning</a>
|
||||
</p>
|
||||
|
|
|
@ -37,3 +37,12 @@ Alternatively, import an existing CID:
|
|||
%= submit_button 'Upload!'
|
||||
<input hidden type="text" name="is_browser" value="Yes">
|
||||
% end
|
||||
|
||||
<p>
|
||||
You can also do uploads from the CLI. Add an access token and do the following:
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
$ curl -H "Authorization: Bearer ..." -F file=@/my/file <%= url_for->to_abs %>
|
||||
<%= config->{ipfs}->{gatewayPubUrl} %>Qm...
|
||||
</pre>
|
||||
|
|
Loading…
Reference in New Issue