blob: 3173f54d138efa67efb3b4a3d778d94a0c5b6208 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
## User-specific config
You can create `config.json` file in this folder to override `default-config.json` options.
All root config fields are optional to override, so you need to create only what you want to change.
File example:
```json
{
"channelName": "-=SuperChannel=-",
"totalVideoLimit": 10
}
```
## User-specific resources
You can patch any file you want in project `res/` by creating `user/res/sameName` files.
For example `user/res/index.html` or `user/res/css/custom.css`.
You can also add any new files.
## Server commands
Server has input commands, for example, to set admin users. Simple enter anything to terminal after run to get command list.
## Other files here
- `state.json` - Saved state of latest server session (messages, videos, video time).
- `users.json` - Admin names with password hashes and random channel-specific salt. Do not share this file!
- `crashes/` - Latest error logs, when the server crashes.
- `logs/` - Latest activity logs, saved when the server shuts down.
- `cache/` - Folder with video cache and uploads. You can change `cacheStorageLimitGiB` in config to limit it.
|