Debian Codegraph @

web/public/config.js

raw
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
8 var config = {
9 base_url: window.location.origin, // Change to test against a different server
10 app_root: "/",
11 enable_login: true,
12 require_login: false,
13 enable_signup: true,
14 enable_payments: false,
15 enable_reservations: true,
16 enable_emails: true,
17 enable_calls: true,
18 enable_web_push: true,
19 billing_contact: "",
20 web_push_public_key: "",
21 disallowed_topics: ["docs", "static", "file", "app", "account", "settings", "signup", "login", "v1"],
22 config_hash: "dev", // Placeholder for development; actual value is generated server-side
23 };