Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for CORS #159

Open
4 tasks
emxsys opened this issue May 31, 2018 · 0 comments
Open
4 tasks

Add support for CORS #159

emxsys opened this issue May 31, 2018 · 0 comments

Comments

@emxsys
Copy link
Contributor

emxsys commented May 31, 2018

Add support for cross-origin resource sharing (CORS). By default, CORS will be disabled but easily enabled by uncommenting a section of the webapps/geoserver/WEB-INF/web.xml file

TODO:

<!-- Uncomment this section to allow cross-origin resource sharing (CORS)
   <filter>
        <filter-name>cross-origin</filter-name>
        <filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class>
        <init-param>
            <param-name>allowedOrigins</param-name>
            <param-value>*</param-value>
        </init-param>
   </filter>
    <filter-mapping>
        <filter-name>cross-origin</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
-->
  • Add instructions for enabling CORS to the README
@emxsys emxsys added this to the WWSK v1.0.0 milestone May 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant