summaryrefslogtreecommitdiffstats
path: root/contrib/bruno
diff options
context:
space:
mode:
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}}
}