summaryrefslogtreecommitdiffstats
path: root/contrib/bruno
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-07-20 02:06:43 +0200
committerrtkay123 <dev@kanjala.com>2025-07-20 02:06:43 +0200
commit9219896676085e3a7dc0bba5c81cd97cd61099c1 (patch)
tree83c2c4bc9d371fd43f910bd18fe5ab88d3b4638b /contrib/bruno
parent5bfbeb8e843adf1e949f71074dac22be0c720644 (diff)
downloadsellershut-9219896676085e3a7dc0bba5c81cd97cd61099c1.tar.bz2
sellershut-9219896676085e3a7dc0bba5c81cd97cd61099c1.zip
feat: transaction for follow
Diffstat (limited to 'contrib/bruno')
-rw-r--r--contrib/bruno/environments/sellershut.bru4
-rw-r--r--contrib/bruno/users/webfinger.bru4
2 files changed, 5 insertions, 3 deletions
diff --git a/contrib/bruno/environments/sellershut.bru b/contrib/bruno/environments/sellershut.bru
index 82d0e7c..bb9a8b7 100644
--- a/contrib/bruno/environments/sellershut.bru
+++ b/contrib/bruno/environments/sellershut.bru
@@ -1,3 +1,5 @@
vars {
- HUT_HOSTNAME: http://localhost:2210
+ HUT_DOMAIN: localhost
+ HUT_PORT: 2210
+ HUT_HOSTNAME: http://{{HUT_DOMAIN}}:{{HUT_PORT}}
}
diff --git a/contrib/bruno/users/webfinger.bru b/contrib/bruno/users/webfinger.bru
index ea238f9..a6d15bf 100644
--- a/contrib/bruno/users/webfinger.bru
+++ b/contrib/bruno/users/webfinger.bru
@@ -5,11 +5,11 @@ meta {
}
get {
- url: {{HUT_HOSTNAME}}/.well-known/webfinger?resource=acct:sellershut@localhost
+ url: {{HUT_HOSTNAME}}/.well-known/webfinger?resource=acct:sellershut@{{HUT_DOMAIN}}
body: none
auth: inherit
}
params:query {
- resource: acct:sellershut@localhost
+ resource: acct:sellershut@{{HUT_DOMAIN}}
}