diff --git a/ui/resources/application.properties b/ui/resources/application.properties index 67bef604..edf9abac 100644 --- a/ui/resources/application.properties +++ b/ui/resources/application.properties @@ -50,6 +50,8 @@ server.servlet.context-path=${CONTEXT_PATH:/} spring.web.resources.cache.cachecontrol.max-age=1d spring.web.resources.chain.strategy.content.enabled=true spring.web.resources.chain.strategy.content.paths=/** +spring.web.resources.static-locations=classpath:/static/assets/ +spring.mvc.static-path-pattern=/assets/** # Obey X-Forwarded-* headers server.forward-headers-strategy=NATIVE server.tomcat.remoteip.remote-ip-header=X-Forwarded-For diff --git a/ui/resources/static/marcexport/MarcExport.js b/ui/resources/static/assets/MarcExport.js similarity index 100% rename from ui/resources/static/marcexport/MarcExport.js rename to ui/resources/static/assets/MarcExport.js diff --git a/ui/resources/templates/MarcExport.html b/ui/resources/templates/MarcExport.html index 7bacc56f..7a1959ad 100644 --- a/ui/resources/templates/MarcExport.html +++ b/ui/resources/templates/MarcExport.html @@ -18,7 +18,7 @@ - +