Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道禁用连接资产/绞肉机的摘要/散列的方法?我知道在他们看来这很重要,但在开发时它没有那么有用
可以通过以下方式禁用摘要或指纹:
app.use(assets({ paths: [ 'assets/css', 'assets/fonts', 'assets/js', 'assets/images', 'bower_components' ], fingerprinting: false }));
现在,当您部署应用程序时,您将看到资产没有附加到名称的摘要/散列。