Skip to content

Commit

Permalink
fix WebExtensions change
Browse files Browse the repository at this point in the history
  • Loading branch information
classilla committed Apr 19, 2022
1 parent 0b587e5 commit 61db0f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/agate.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*
* Agate module: URL rewrite support (background)
*
* Copyright 2018 Cameron Kaiser.
* Copyright 2018, 2022 Cameron Kaiser.
* All rights reserved.
*/


// If we change the URL for the browser scaffold, it needs to change here too.
var me = browser.extension.getURL("d");
var me = browser.runtime.getURL("d");

function munge(url) {
if (url.indexOf(me) != 0) return null;
Expand Down

0 comments on commit 61db0f0

Please sign in to comment.