mirror of https://github.com/docker/docs.git
Will now redirect if developing locally.
This commit is contained in:
parent
968e09ab12
commit
65195bcc33
|
|
@ -63,8 +63,10 @@ app.on('ready', function() {
|
|||
});
|
||||
|
||||
mainWindow.webContents.on('will-navigate', function (e, url) {
|
||||
if (url.indexOf('build/index.html#/containers') < 0) {
|
||||
console.log(url);
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
mainWindow.webContents.on('did-finish-load', function() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue