diff --git a/.gitignore b/.gitignore index 34e18dff..570ea499 100755 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,6 @@ node_modules npm-debug.log -build/dev -build/test -build/node +build docs/* !docs/*.conf.json !docs/*.ico diff --git a/.travis.yml b/.travis.yml index e56d44bc..eb0cc872 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,10 @@ script: - grunt node - grunt prod deploy: + provider: pages skip_cleanup: true + github_token: $GITHUB_TOKEN + on: + branch: master + local_dir: "build/prod/" + target_branch: gh-pages diff --git a/src/core/operations/URL.js b/src/core/operations/URL.js index a00ea9db..c7f68f4d 100755 --- a/src/core/operations/URL.js +++ b/src/core/operations/URL.js @@ -61,7 +61,7 @@ const URL_ = { if (!document) { throw "This operation only works in a browser."; } - + var a = document.createElement("a"); // Overwrite base href which will be the current CyberChef URL to reduce confusion.