cachec change
This commit is contained in:
parent
279d25c03a
commit
f7832774d9
2 changed files with 7 additions and 1 deletions
|
@ -5,6 +5,12 @@ FROM frooodle/stirling-pdf-base:latest
|
|||
RUN mkdir /scripts
|
||||
COPY ./scripts/* /scripts/
|
||||
|
||||
#Install fonts
|
||||
RUN mkdir /usr/share/fonts/opentype/noto/
|
||||
COPY src/main/resources/static/fonts/*.ttf /usr/share/fonts/opentype/noto/
|
||||
COPY src/main/resources/static/fonts/*.otf /usr/share/fonts/opentype/noto/
|
||||
RUN fc-cache -f -v
|
||||
|
||||
# Copy the application JAR file
|
||||
COPY build/libs/*.jar app.jar
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.springframework.web.servlet.ModelAndView;
|
|||
public class CleanUrlInterceptor implements HandlerInterceptor {
|
||||
|
||||
|
||||
private static final List<String> ALLOWED_PARAMS = Arrays.asList("lang", "param2", "param3");
|
||||
private static final List<String> ALLOWED_PARAMS = Arrays.asList("lang", "endpoint", "endpoints");
|
||||
|
||||
@Override
|
||||
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
|
||||
|
|
Loading…
Reference in a new issue