Skip to content

Commit

Permalink
Init to http://zap/
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Bennetts <[email protected]>
  • Loading branch information
psiinon committed Sep 19, 2023
1 parent 9189cf4 commit 498cb3f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
4 changes: 2 additions & 2 deletions source/Background/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ function cookieChangeHandler(
): void {
Browser.storage.sync
.get({
zapurl: 'http://localhost:8080/',
zapurl: 'http://zap/',
zapkey: 'not set',
})
.then((items) => {
Expand All @@ -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',
});
});
Expand Down
2 changes: 1 addition & 1 deletion source/Options/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 498cb3f

Please sign in to comment.