Skip to content

Commit 15aa8bb

Browse files
authored
Update docs/content/doc/developers/guidelines-backend.md
1 parent 31ce926 commit 15aa8bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/doc/developers/guidelines-backend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ To maintain understandable code and avoid circular dependencies it is important
4444
- `public`: Compiled frontend files (javascript, images, css, etc.)
4545
- `routers`: Handling of server requests. As it uses other Gitea packages to serve the request, other packages (models, modules or services) shall not depend on routers.
4646
- `routers/api` Contains routers for `/api/v1` aims to handle RESTful API requests.
47-
- `routers/install` Could only response when system is INSTALL mode.
47+
- `routers/install` Could only respond when system is in INSTALL mode (INSTALL_LOCK=false).
4848
- `routers/private` will only be invoked by internal sub commands, especially `serv` and `hooks`.
4949
- `routers/web` will handle HTTP requests from web browsers or Git SMART HTTP protocols.
5050
- `services`: Support functions for common routing operations or command executions. Uses `models` and `modules` to handle the requests.

0 commit comments

Comments
 (0)