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) {
|
mainWindow.webContents.on('will-navigate', function (e, url) {
|
||||||
console.log(url);
|
if (url.indexOf('build/index.html#/containers') < 0) {
|
||||||
e.preventDefault();
|
console.log(url);
|
||||||
|
e.preventDefault();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
mainWindow.webContents.on('did-finish-load', function() {
|
mainWindow.webContents.on('did-finish-load', function() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue