config.js 800 B

1234567891011121314151617181920212223
  1. // THIS FILE IS JUST AN EXAMPLE
  2. //
  3. // It is removed during the build process. The actual config is dynamically
  4. // generated server-side and served by the ntfy server.
  5. //
  6. // During web development, you may change values here for rapid testing.
  7. var config = {
  8. base_url: window.location.origin, // Change to test against a different server
  9. app_root: "/",
  10. enable_login: true,
  11. require_login: false,
  12. enable_signup: true,
  13. enable_payments: false,
  14. enable_reservations: true,
  15. enable_emails: true,
  16. enable_calls: true,
  17. enable_web_push: true,
  18. billing_contact: "",
  19. web_push_public_key: "",
  20. disallowed_topics: ["docs", "static", "file", "app", "account", "settings", "signup", "login", "v1"],
  21. config_hash: "dev", // Placeholder for development; actual value is generated server-side
  22. };