This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var crc = require("crc"); | |
var fs = require("fs"); | |
var path = require("path"); | |
var staticUrl = function(static_path, options) { | |
static_path = path.resolve(static_path); | |
options = options || {}; | |
var cache = {}; | |
var prefix = options.prefix || ''; | |
var check_mtime = !options.cache; |