mirror of
https://github.com/wassname/talk.git
synced 2026-08-17 11:27:52 +08:00
Little Comment
This commit is contained in:
@@ -81,6 +81,8 @@ module.exports = async (req, res, next) => {
|
||||
// Always attach the locals.
|
||||
attachStaticLocals(res.locals);
|
||||
|
||||
// Resolve will help resolving paths to static files
|
||||
// using the manifest.
|
||||
res.locals.resolve = resolve;
|
||||
|
||||
// Forward the request.
|
||||
|
||||
Reference in New Issue
Block a user