diff --git a/client/img/apple-touch-icon-120x120.png b/client/img/apple-touch-icon-120x120.png new file mode 100644 index 00000000..78e4c348 Binary files /dev/null and b/client/img/apple-touch-icon-120x120.png differ diff --git a/client/img/favicon.png b/client/img/favicon.png index 6ad9151d..3dca950b 100644 Binary files a/client/img/favicon.png and b/client/img/favicon.png differ diff --git a/client/img/logo-64.png b/client/img/logo-64.png new file mode 100644 index 00000000..8223410a Binary files /dev/null and b/client/img/logo-64.png differ diff --git a/client/index.html b/client/index.html index 69e5952a..ab1f9b29 100644 --- a/client/index.html +++ b/client/index.html @@ -12,7 +12,8 @@ - + + "> diff --git a/client/js/shout.js b/client/js/shout.js index d8608442..f7e18847 100644 --- a/client/js/shout.js +++ b/client/js/shout.js @@ -422,7 +422,7 @@ $(function() { if (Notification.permission === "granted") { var n = new Notification(msg.from + " says:", { body: msg.text.trim(), - icon: "" + icon: "/img/logo-64.png" } ); n.onclick = function() { window.focus(); diff --git a/config.js b/config.js index a0384834..85142c7e 100644 --- a/config.js +++ b/config.js @@ -1,8 +1,54 @@ module.exports = { + // + // Set the server mode. + // Public servers does not require authentication. + // + // Set to 'false' to enable users. + // + // @type boolean + // @default false + // public: true, + + // + // Allow connections from this host. + // + // @type string + // @default "0.0.0.0" + // host: "0.0.0.0", - port: 9090, + + // + // Set the port to listen on. + // + // @type int + // @default 9000 + // + port: 9000, + + // + // Set the default theme. + // + // @type string + // @default "themes/example.css" + // theme: "themes/example.css", + + // + // Override home directory. + // Leaving this field empty will default to '~/.shout/'. + // + // @type string + // @default "" + // home: "", - debug: true + + // + // Enable debug mode. + // This is only useful for development. + // + // @type string + // @default false + // + debug: false };