From c2ca0fae98c535dccb52d9ab949e1e534a9078a3 Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Wed, 16 Jul 2025 14:06:30 +0200 Subject: test(bruno): env --- contrib/bruno/environments/sellershut.bru | 4 ++++ contrib/bruno/health.bru | 2 +- contrib/bruno/users/get_user.bru | 2 +- contrib/bruno/users/webfinger.bru | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 contrib/bruno/environments/sellershut.bru diff --git a/contrib/bruno/environments/sellershut.bru b/contrib/bruno/environments/sellershut.bru new file mode 100644 index 0000000..f26ca7f --- /dev/null +++ b/contrib/bruno/environments/sellershut.bru @@ -0,0 +1,4 @@ +vars { + HUT_HOSTNAME: http://localhost + HUT_PORT: 2210 +} diff --git a/contrib/bruno/health.bru b/contrib/bruno/health.bru index 44c5410..b07520e 100644 --- a/contrib/bruno/health.bru +++ b/contrib/bruno/health.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:3000 + url: {{HUT_HOSTNAME}}:{{HUT_PORT}} body: none auth: inherit } diff --git a/contrib/bruno/users/get_user.bru b/contrib/bruno/users/get_user.bru index 3981d48..abc0d88 100644 --- a/contrib/bruno/users/get_user.bru +++ b/contrib/bruno/users/get_user.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:3000/users/sellershut + url: {{HUT_HOSTNAME}}:{{HUT_PORT}}/users/sellershut body: none auth: inherit } diff --git a/contrib/bruno/users/webfinger.bru b/contrib/bruno/users/webfinger.bru index 14acaab..124415c 100644 --- a/contrib/bruno/users/webfinger.bru +++ b/contrib/bruno/users/webfinger.bru @@ -5,7 +5,7 @@ meta { } get { - url: http://localhost:3000/.well-known/webfinger?resource=acct:sellershut@localhost + url: {{HUT_HOSTNAME}}:{{HUT_PORT}}/.well-known/webfinger?resource=acct:sellershut@localhost body: none auth: inherit } -- cgit v1.2.3