diff --git a/flink-runtime-web/web-dashboard/app/index.jade b/flink-runtime-web/web-dashboard/app/index.jade index b3a2b7ee599a9..6a62e21ae67f8 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') 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 0cd95a580ecad..a268fc3e0a40b 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")