File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212
1313const forcePopup = ( { id, url } ) => {
1414 if ( / h t t p s ? : \/ \/ ( g i t h u b | g i t l a b ) .c o m \/ .* \/ .* / . test ( url ) ||
15- / h t t p s : \/ \/ g i t p o d .i o \/ w o r k s p a c e s \/ .* / . test ( url ) ) {
15+ / h t t p s ? : \/ \/ g i t p o d .i o \/ .* / . test ( url ) ) {
1616 chrome . pageAction . show ( id ) ;
1717 }
1818} ;
@@ -27,7 +27,7 @@ chrome.tabs.onActivated.addListener(({ tabId }) => {
2727
2828chrome . pageAction . onClicked . addListener ( ( { url } ) => {
2929 let popupUrl = `https://gitpod.io/#${ url } ` ;
30- if ( / h t t p s : \/ \/ g i t p o d .i o \/ w o r k s p a c e s \/ .* / . test ( url ) ) {
30+ if ( / h t t p s ? : \/ \/ g i t p o d .i o \/ .* / . test ( url ) ) {
3131 popupUrl = 'https://gitpod.io/workspaces/' ;
3232 }
3333 chrome . windows . create ( { url : popupUrl , type : 'popup' } ) ;
Original file line number Diff line number Diff line change 1313 " tabs" ,
1414 " *://github.com/*/*" ,
1515 " *://gitlab.com/*/*" ,
16- " https ://gitpod.io/workspaces/ "
16+ " * ://gitpod.io/* "
1717 ],
1818 "background" : {
1919 "scripts" : [" background.js" ],
You can’t perform that action at this time.
0 commit comments