FAQ
How to set up an administrator#
- Get user id. reference getUserId
- Set
Administratorin config to be administrator userId. - Restart the server
How to modify the default group name#
reference updateDefaultGroupname
How to custom domain name#
Recommend to use nginx reverse proxy
Example config, Please modify the configuration of the comment item
HTTPS + HTTP 2.0 config
How to Disable register, manual account assignment#
Set DisableRegister in config to be true. Restart the server to take effect
Use scripts to manually register new users. Reference register
How to delete user#
Reference deleteUser
The client throw an error "调用失败,处于萌新阶段"#
In order to prevent newly registered users from sending messages randomly, users whose registration time is less than 24 hours can only send 5 messages per minute.
An error is throwed when executing the command. "Couldn't find a package.json file in xxx"#
First cd to the fiora root directory, and then execute the corresponding command
Why the modified configuration does not take effect#
- First confirm whether the configuration modification is correct -If you modify the configuration file directly, please make sure that the modified part of the syntax and format is correct -If you modify the configuration through the .env file, please make sure the format is correct
- After modifying the configuration -If you modify the server configuration, you need to restart the server -If you modify the client configuration, you need to rebuild the client
How to rebuild the web client#
yarn build:web