Global settings

Noah HsuSeptember 7, 2022
  • Config
  • Config
  • Settings
About 1 min

Global settings

Hide files

Match files hidden by regular expressions(javascript). If you don't understand, don't fill in them randomly. Wrong regular expressions will cause the front-end page to crash. One per line. By default, there is an example expression that hides README.mdopen in new window in all directories.

It's not really hiding. It still exists in the list returned by the api, it just doesn't show up in the frontend list. So if you want to really hide, add a meta record instead.

Package download

Whether to enable package download, default is true.

Customize head

Any content you want which are automatically placed at the beginning of the head of the web page

Customize body

Any content you want which are automatically placed at the end of the body of the web page

The expiration time of the direct link, in hours. If it equals 0, it will not expire. Default is 0.

Note

Only the straight chain of the path with the password added will have an expiration time, otherwise it will not expire.Because the expiration time is added to the sign query parameter, and the path without adding the password will not check the sign.

Privacy regs

What you don't want to show in the error message, One regular expression (in Golang) per line. The matched content will be replaced with * of the corresponding length.

Ocr api

Used to identify verification codes. You can deploy yourself: https://hub.docker.com/r/xhofe/ddddocr_serveropen in new window. The default ocr api is deployed on the koyebopen in new window, which is not recommended to use in production environment.

Loading...