Ignore:
Timestamp:
03/13/23 23:30:41 (20 months ago)
Author:
Gjoko Kostadinov <gjoko.kostadinov@…>
Branches:
master
Children:
8bcd64c
Parents:
46fd0c7
Message:

Add admin functionality for activating or deactivating companies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/edu/gjoko/schedlr/config/AppFilter.java

    r46fd0c7 r9050790  
    2424        HttpSession session = httpServletRequest.getSession(false);
    2525
    26         if(httpServletRequest.getRequestURI().endsWith(".js") || httpServletRequest.getRequestURI().endsWith(".css")) {
     26        if(httpServletRequest.getRequestURI().endsWith(".js")
     27                || httpServletRequest.getRequestURI().endsWith(".css")
     28                || httpServletRequest.getRequestURI().startsWith("/api")) {
    2729            filterChain.doFilter(servletRequest, servletResponse);
    2830            return;
Note: See TracChangeset for help on using the changeset viewer.