Add server-generated /config.js; add error boundary
This commit is contained in:
parent
04ee6b8be2
commit
840cb5b182
14 changed files with 184 additions and 85 deletions
9
web/public/config.js
Normal file
9
web/public/config.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
// Configuration injected by the ntfy server.
|
||||
//
|
||||
// This file is just an example. It is removed during the build process.
|
||||
// The actual config is dynamically generated server-side.
|
||||
|
||||
var config = {
|
||||
appRoot: "/",
|
||||
disallowedTopics: ["docs", "static", "file", "app", "settings"]
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue