diff options
author | Vitaly Takmazov | 2015-12-01 12:29:18 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2015-12-01 12:29:18 +0300 |
commit | 22fa502881b39d70dbfd7f0ce15b10ca02a0d5b1 (patch) | |
tree | ca4257b3ce34e2be724e23b6fccf0f0694030592 /src/main/webapp/WEB-INF | |
parent | 0ad18b0280a7fe16b1a0814177aad9ef00435d55 (diff) |
merge com.juick.jabber.push
Diffstat (limited to 'src/main/webapp/WEB-INF')
-rw-r--r-- | src/main/webapp/WEB-INF/push.conf.example | 8 | ||||
-rw-r--r-- | src/main/webapp/WEB-INF/web.xml | 13 |
2 files changed, 21 insertions, 0 deletions
diff --git a/src/main/webapp/WEB-INF/push.conf.example b/src/main/webapp/WEB-INF/push.conf.example new file mode 100644 index 00000000..adc6597e --- /dev/null +++ b/src/main/webapp/WEB-INF/push.conf.example @@ -0,0 +1,8 @@ +mysql_host=localhost +mysql_username=username +mysql_database=juick +xmpp_jid=push.juick.com +xmpp_password=secret +gcm_key=<Insert_GCM_key> +apns_keystore=/path/to/apns/certificates.p12 +apns_mode=sandbox
\ No newline at end of file diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 16e4d30f..a71f3918 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -8,9 +8,22 @@ <servlet-name>Main</servlet-name> <url-pattern>/</url-pattern> </servlet-mapping> + <servlet-mapping> + <servlet-name>default</servlet-name> + <url-pattern>/scripts.js</url-pattern> + </servlet-mapping> + <servlet-mapping> + <servlet-name>default</servlet-name> + <url-pattern>/style.css</url-pattern> + </servlet-mapping> <session-config> <session-timeout> 30 </session-timeout> </session-config> + <listener> + <description>APNS/GCM/MPNS module</description> + <display-name>PushComponent</display-name> + <listener-class>com.juick.push.PushComponent</listener-class> + </listener> </web-app> |