From 2179d976d1edaf0378753393a20042808bac72cf Mon Sep 17 00:00:00 2001 From: Kayden Tebau Date: Thu, 2 Nov 2023 23:05:06 -0700 Subject: [PATCH] Add service name and instructions for adding service to node --- ipfs_upload.default.yml | 2 ++ templates/interface/tokens.html.ep | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ipfs_upload.default.yml b/ipfs_upload.default.yml index 34449e6..8fee008 100644 --- a/ipfs_upload.default.yml +++ b/ipfs_upload.default.yml @@ -4,6 +4,8 @@ secrets: max_upload_size: 104857600 +service_name: "pinserv" + database: # SQLite #type: 'sqlite' diff --git a/templates/interface/tokens.html.ep b/templates/interface/tokens.html.ep index 0c26467..a400d0e 100644 --- a/templates/interface/tokens.html.ep +++ b/templates/interface/tokens.html.ep @@ -43,7 +43,10 @@ your IPFS node at the endpoint <%= url_for('/api')->to_abs->scheme("https") %> and give it the generated access token.
+ You can do this using Kubo's web interface, or by running the + command:

+
ipfs pin remote service add <%= $c->config->service_name %> <%= url_for('/api')->to_abs->scheme("https") %> <SECRET KEY>

More info on pinning