Skip to content

Commit

Permalink
Merge pull request #237 from ant-media/endpoint_cluster
Browse files Browse the repository at this point in the history
Enable RestProxyFilter for broadcasts API
  • Loading branch information
mekya authored Apr 12, 2022
2 parents e4572cd + c10e9ed commit 7632a5d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@
<listener>
<listener-class>io.antmedia.filter.TokenSessionFilter</listener-class>
</listener>
<!-- Put RestProxyFilter to the top of the Filter list -->
<filter>
<filter-name>RestProxyFilter</filter-name>
<filter-class>io.antmedia.filter.RestProxyFilter</filter-class>
<async-supported>true</async-supported>
</filter>
<filter-mapping>
<filter-name>RestProxyFilter</filter-name>
<url-pattern>/rest/v2/broadcasts/*</url-pattern>
</filter-mapping>

<filter>
<filter-name>TokenFilter</filter-name>
Expand Down Expand Up @@ -165,16 +175,6 @@
<url-pattern>/rest/*</url-pattern>
</filter-mapping>

<filter>
<filter-name>RestProxyFilter</filter-name>
<filter-class>io.antmedia.rest.RestProxyFilter</filter-class>
<async-supported>true</async-supported>
</filter>
<filter-mapping>
<filter-name>RestProxyFilter</filter-name>
<url-pattern>/rest/v2/broadcasts/*</url-pattern>
</filter-mapping>

<filter>
<filter-name>RestAuthenticationFiler</filter-name>
<filter-class>io.antmedia.filter.IPFilter</filter-class>
Expand Down

0 comments on commit 7632a5d

Please sign in to comment.