diff options
| author | Paul-Christian Volkmer | 2023-04-05 10:57:01 +0200 |
|---|---|---|
| committer | Paul-Christian Volkmer | 2023-04-05 10:57:01 +0200 |
| commit | 367f46ccead37f145d88130497be34dafd57f2b8 (patch) | |
| tree | 3e233a0c77d6fb4bcfb762eadce70f8a45b61498 /src/main | |
| parent | abb54090aa5173f9822802e23b510862d93889b2 (diff) | |
ResourceMapping nur für Ressourcen mit Endung *.js
Dadurch wird der mögliche Download von *.class-Dateien verhindert, die im gleichen Verzeichnis
im Classpath liegen können.
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/resources/de/itc/onkostar/library/moduleContext.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/de/itc/onkostar/library/moduleContext.xml b/src/main/resources/de/itc/onkostar/library/moduleContext.xml index 7a78f8c..c554416 100644 --- a/src/main/resources/de/itc/onkostar/library/moduleContext.xml +++ b/src/main/resources/de/itc/onkostar/library/moduleContext.xml @@ -25,6 +25,6 @@ <context:component-scan base-package="de.ukw.ccc.onkostar.atccodes" /> <context:component-scan base-package="DNPM.config" /> - <mvc:resources mapping="/app/lib/umr/**" location="classpath:/app/lib/umr/" /> - <mvc:resources mapping="/app/plugins/atccodes/**" location="classpath:/de/ukw/ccc/onkostar/atccodes/" /> + <mvc:resources mapping="/app/lib/umr/**/*.js" location="classpath:/app/lib/umr/" /> + <mvc:resources mapping="/app/plugins/atccodes/**/*.js" location="classpath:/de/ukw/ccc/onkostar/atccodes/" /> </beans>
\ No newline at end of file |
