【文件属性】:
文件名称:serve-static:拦截meteor默认静态文件中间件添加响应头
文件大小:8KB
文件格式:ZIP
更新时间:2021-07-04 08:27:48
JavaScript
静态服务
拦截流星默认静态文件中间件以添加响应头。
用法
Meteor . startup ( function ( ) {
Meteor . ServeStatic . config ( { patternRegex : / \/ client \/ . * / , maxAge : 60 * 1000 * 24 } )
} ) ;
执照
Copyright 2014 Vignesh Periasami
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.
【文件预览】:
serve-static-master
----.gitignore(52B)
----serve-static-server.js(4KB)
----package.js(1KB)
----LICENSE(11KB)
----README.md(866B)
----versions.json(2KB)
----serve-static-server-tests.js(121B)