This snippet shows how to authorize HTML5 history mode used by Javascript frameworks like Angular or VueJS.
There is two simple steps :
- Create the filter
- Register it in your project configuration
Create the file HistoryModeFilter.java
with the following content :