From b877c72bc78ea0a9ff0cbd242ef344a485c4bd3d Mon Sep 17 00:00:00 2001 From: Giles Thompson Date: Sat, 18 Nov 2023 15:36:30 +1300 Subject: [PATCH] feat(http): use wiremock endpoint as default --- website/app/components/options-form.gjs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/website/app/components/options-form.gjs b/website/app/components/options-form.gjs index ead06f65..5659bfc2 100644 --- a/website/app/components/options-form.gjs +++ b/website/app/components/options-form.gjs @@ -22,12 +22,11 @@ const RATES = { const DEFAULT_RATE = RATES['Fast 3G - 0.675 Mbps']; // HTTP -const DEFAULT_URL = 'https://api.bytescale.com/v1/files/basic'; +const DEFAULT_URL = 'https://m6v5v.wiremockapi.cloud/files'; const METHODS = ['GET', 'POST', 'PUT', 'PATCH', 'HEAD']; const DEFAULT_METHOD = 'POST'; const DEFAULT_HEADERS = { - Authorization: 'Basic YXBpa2V5OmZyZWU', - 'Content-Type': 'application/x-www-form-urlencoded', + Authorization: 'Basic YWxhZGRpbjpvcGVuc2VzYW1l', }; export const DEFAULT_OPTIONS = {