diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 601a652..5b60e20 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,4 +1,5 @@ server.servlet.context-path=/task-bldg +server.port=8083 # i18n spring.messages.fallback-to-system-locale=false diff --git a/src/main/resources/static/custom/cities.js b/src/main/resources/static/custom/cities.js index e1d3f79..ce92818 100644 --- a/src/main/resources/static/custom/cities.js +++ b/src/main/resources/static/custom/cities.js @@ -41,7 +41,7 @@ }); $.when( - $.getJSON("/task-bldg/city/index.json") + $.getJSON("./city/index.json") ).done(function(data) { site = data.site; style = new ol.style.Style({ diff --git a/src/main/resources/static/custom/tasks.js b/src/main/resources/static/custom/tasks.js index 20c603a..cb208e6 100644 --- a/src/main/resources/static/custom/tasks.js +++ b/src/main/resources/static/custom/tasks.js @@ -121,7 +121,7 @@ featurePoint.information = this; featurePoint.setStyle(new ol.style.Style({ image: new ol.style.Icon({ - src: '/task-bldg/img/osm_200x200.png', + src: './img/osm_200x200.png', anchor: [0.5, 0.5], scale: 0.2 }),