aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webapp')
-rw-r--r--src/main/webapp/WEB-INF/push.conf.example8
-rw-r--r--src/main/webapp/WEB-INF/web.xml13
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>