Repository: flink Updated Branches: refs/heads/master e1181f6c2 -> d7e862afe
[FLINK-5444] [webfrontend] Make UI links relative Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/42b53e64 Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/42b53e64 Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/42b53e64 Branch: refs/heads/master Commit: 42b53e64b5e005fb07c9d0333daa40a869ab0df7 Parents: e1181f6 Author: Ufuk Celebi <[email protected]> Authored: Thu Jan 12 16:01:27 2017 +0100 Committer: Ufuk Celebi <[email protected]> Committed: Thu Jan 12 16:02:28 2017 +0100 ---------------------------------------------------------------------- flink-runtime-web/web-dashboard/app/index.jade | 14 +++++++------- .../app/scripts/modules/submit/submit.ctrl.coffee | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/42b53e64/flink-runtime-web/web-dashboard/app/index.jade ---------------------------------------------------------------------- diff --git a/flink-runtime-web/web-dashboard/app/index.jade b/flink-runtime-web/web-dashboard/app/index.jade index b3a2b7e..6a62e21 100644 --- a/flink-runtime-web/web-dashboard/app/index.jade +++ b/flink-runtime-web/web-dashboard/app/index.jade @@ -24,13 +24,13 @@ html(lang='en') title Apache Flink Web Dashboard - link(rel="apple-touch-icon", sizes="180x180", href="/images/apple-touch-icon.png") - link(rel="icon", type="image/png", href="/images/favicon-32x32.png", sizes="32x32") - link(rel="icon", type="image/png", href="/images/favicon-16x16.png", sizes="16x16") - link(rel="manifest", href="/images/manifest.json") - link(rel="mask-icon", href="/images/safari-pinned-tab.svg", color="#aa1919") - link(rel="shortcut icon", href="/images/favicon.ico") - meta(name="msapplication-config", content="/images/browserconfig.xml") + link(rel="apple-touch-icon", sizes="180x180", href="images/apple-touch-icon.png") + link(rel="icon", type="image/png", href="images/favicon-32x32.png", sizes="32x32") + link(rel="icon", type="image/png", href="images/favicon-16x16.png", sizes="16x16") + link(rel="manifest", href="images/manifest.json") + link(rel="mask-icon", href="images/safari-pinned-tab.svg", color="#aa1919") + link(rel="shortcut icon", href="images/favicon.ico") + meta(name="msapplication-config", content="images/browserconfig.xml") meta(name="theme-color", content="#ffffff") link(rel='stylesheet', href='css/vendor.css', type='text/css') http://git-wip-us.apache.org/repos/asf/flink/blob/42b53e64/flink-runtime-web/web-dashboard/app/scripts/modules/submit/submit.ctrl.coffee ---------------------------------------------------------------------- diff --git a/flink-runtime-web/web-dashboard/app/scripts/modules/submit/submit.ctrl.coffee b/flink-runtime-web/web-dashboard/app/scripts/modules/submit/submit.ctrl.coffee index 0cd95a5..a268fc3 100644 --- a/flink-runtime-web/web-dashboard/app/scripts/modules/submit/submit.ctrl.coffee +++ b/flink-runtime-web/web-dashboard/app/scripts/modules/submit/submit.ctrl.coffee @@ -167,7 +167,7 @@ angular.module('flinkApp') $scope.uploader['success'] = null else $scope.uploader['success'] = "Uploaded!" - xhr.open("POST", "/jars/upload") + xhr.open("POST", flinkConfig.jobServer + "jars/upload") xhr.send(formdata) else console.log("Unexpected Error. This should not happen")
