Advertisement
Guest User

mm2config

a guest
May 10th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. var config = {
  2. address: "localhost", // Address to listen on, can be:
  3. // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
  4. // - another specific IPv4/6 to listen on a specific interface
  5. // - "", "0.0.0.0", "::" to listen on any interface
  6. // Default, when address config is left out, is "localhost"
  7. port: 8080,
  8. ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
  9. // or add a specific IPv4 of 192.168.1.5 :
  10. // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
  11. // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
  12. // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
  13.  
  14. language: "is",
  15. timeFormat: 24,
  16. units: "metric",
  17.  
  18. modules: [
  19. {
  20. module: "alert",
  21. },
  22. {
  23. module: "updatenotification",
  24. position: "top_bar"
  25. },
  26. {
  27. module: "clock",
  28. position: "top_left"
  29. },
  30.  
  31. {
  32. module: "compliments",
  33. position: "lower_third"
  34. },
  35. {
  36. module: "currentweather",
  37. position: "top_right",
  38. config: {
  39. location: "Reykjavik",
  40. locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city
  41. appid: "bbb3c5584d3225512c758667c5027513"
  42. }
  43. },
  44. {
  45. module: "newsfeed",
  46. position: "bottom_bar",
  47. config: {
  48. feeds: [
  49. {
  50. title: "Mogginn",
  51. url: "https://www.mbl.is/feeds/fp/"
  52. }
  53. ],
  54. showSourceTitle: true,
  55. showPublishDate: true
  56. }
  57. },
  58. {
  59. module: "camera",
  60. position: "top_center",
  61. config: {
  62. selifeInterval: 3,
  63. emailConfig: {
  64. service:"Gmail",
  65. auth : {
  66. user:"<>",
  67. pass:"<>",
  68. },
  69. },
  70. }
  71. },
  72. ]
  73.  
  74. };
  75.  
  76. /*************** DO NOT EDIT THE LINE BELOW ***************/
  77. if (typeof module !== "undefined") {module.exports = config;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement