From bf69b81b622e76b8dfe5317916da616d49486ce1 Mon Sep 17 00:00:00 2001 From: jstoparczyk <101905841+jstoparczyk@users.noreply.github.com> Date: Fri, 27 Jun 2025 14:18:37 +0200 Subject: [PATCH] rename default environment from prod to dev; make BASE_URL non-secret and add a default value for it; modify collection documentation accordingly to changes above --- bruno/collection.bru | 2 +- bruno/environments/dev.bru | 6 ++++++ bruno/environments/prod.bru | 4 ---- 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 bruno/environments/dev.bru delete mode 100644 bruno/environments/prod.bru diff --git a/bruno/collection.bru b/bruno/collection.bru index 65c2de5..1e972c1 100644 --- a/bruno/collection.bru +++ b/bruno/collection.bru @@ -25,7 +25,7 @@ script:pre-request { docs { # Wakapi basic API routes - Start by selecting an environment (there is a premade one called "prod") and configuring values for `BASE_URL` and `API_KEY` variables. + Start by selecting an environment (there is a premade one called "dev") and configuring your `API_KEY`. For a complete list of API routes, refer to . } diff --git a/bruno/environments/dev.bru b/bruno/environments/dev.bru new file mode 100644 index 0000000..2dc69de --- /dev/null +++ b/bruno/environments/dev.bru @@ -0,0 +1,6 @@ +vars { + BASE_URL: http://localhost:3000 +} +vars:secret [ + API_KEY +] diff --git a/bruno/environments/prod.bru b/bruno/environments/prod.bru deleted file mode 100644 index e668c0b..0000000 --- a/bruno/environments/prod.bru +++ /dev/null @@ -1,4 +0,0 @@ -vars:secret [ - BASE_URL, - API_KEY -]