diff options
Diffstat (limited to 'web/WEB-INF/restlet.xml')
-rw-r--r-- | web/WEB-INF/restlet.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/web/WEB-INF/restlet.xml b/web/WEB-INF/restlet.xml new file mode 100644 index 0000000..d77fb2e --- /dev/null +++ b/web/WEB-INF/restlet.xml @@ -0,0 +1,18 @@ +<?xml version="1.0"?> +<component xmlns="http://www.restlet.org/schemas/2.0/Component"> + <client protocol="FILE" /> + <client protocols="HTTP HTTPS" /> + <server protocols="HTTP HTTPS" /> + + <defaultHost> + <attach uripattern="/images" targetDescriptor="war:///images" /> + <attach uripattern="/scripts" targetDescriptor="war:///scripts" /> + <attach uripattern="/style.css" targetDescriptor="war:///style.css" /> + <attach uriPattern="" targetClass="com.p4square.grow.frontend.GrowFrontend" /> + </defaultHost> + + <internalRouter> + <attach uriPattern="/backend" + targetClass="com.p4square.grow.backend.GrowBackend" /> + </internalRouter> +</component> |