Repository: flink Updated Branches: refs/heads/release-1.2 624f8ae9e -> 80f15171c
[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/dff58df4 Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/dff58df4 Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/dff58df4 Branch: refs/heads/release-1.2 Commit: dff58df44b0360bc604a16ff913b94be0f3e10a1 Parents: 624f8ae Author: Ufuk Celebi <[email protected]> Authored: Thu Jan 12 16:01:27 2017 +0100 Committer: Ufuk Celebi <[email protected]> Committed: Thu Jan 12 16:04:37 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/dff58df4/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/dff58df4/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")
