Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init to http://zap/ #74

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading