From 498cb3f9869851bdc99082992eadec885c33c11a Mon Sep 17 00:00:00 2001 From: Simon Bennetts Date: Tue, 19 Sep 2023 15:33:06 +0200 Subject: [PATCH] Init to http://zap/ Signed-off-by: Simon Bennetts --- CHANGELOG.md | 4 ++++ source/Background/index.ts | 4 ++-- source/Options/index.tsx | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e25933b..90db52d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,3 +4,7 @@ All notable changes to this add-on will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## Unreleased + +### Changed + +- Init ZAP URL to http://zap/ instead of http://localhost:8080/ \ No newline at end of file diff --git a/source/Background/index.ts b/source/Background/index.ts index 7a0f5a0..290f440 100644 --- a/source/Background/index.ts +++ b/source/Background/index.ts @@ -303,7 +303,7 @@ function cookieChangeHandler( ): void { Browser.storage.sync .get({ - zapurl: 'http://localhost:8080/', + zapurl: 'http://zap/', zapkey: 'not set', }) .then((items) => { @@ -321,7 +321,7 @@ Browser.runtime.onMessage.addListener(onMessageHandler); Browser.runtime.onInstalled.addListener((): void => { console.emoji('🦄', 'extension installed'); Browser.storage.sync.set({ - zapurl: 'http://localhost:8080/', + zapurl: 'http://zap/', zapkey: 'not set', }); }); diff --git a/source/Options/index.tsx b/source/Options/index.tsx index 5c98d84..eb76ba3 100644 --- a/source/Options/index.tsx +++ b/source/Options/index.tsx @@ -46,7 +46,7 @@ function restoreOptions(): void { Browser.storage.sync .get({ - zapurl: 'http://localhost:8080/', + zapurl: 'http://zap/', zapkey: 'not set', zapenable: true, zaprecordingactive: false,