mirror of
1
Fork 0
forgejo/routers/install
wxiaoguang 412e5c0946
Make web context initialize correctly for different cases (#26726)
The web context (modules/context.Context) is quite complex, it's
difficult for the callers to initialize correctly.

This PR introduces a `NewWebContext` function, to make sure the web
context have the same behavior for different cases.
2023-08-25 19:07:42 +08:00
..
install.go Make web context initialize correctly for different cases (#26726) 2023-08-25 19:07:42 +08:00
routes.go Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) 2023-07-21 12:14:20 +00:00
routes_test.go Fix install page context, make the install page tests really test (#24858) 2023-05-23 09:29:15 +08:00