v1.18.x
Julian Lam 11 years ago
parent 0847eb2c3d
commit b48571ceb8

@ -41,7 +41,7 @@ function routeThemeScreenshots(app, themes) {
(function(id, path) { (function(id, path) {
fs.exists(path, function(exists) { fs.exists(path, function(exists) {
if (exists) { if (exists) {
app.get('/css/previews/' + id, function(req, res) { app.get(relativePath + '/css/previews/' + id, function(req, res) {
res.sendfile(path); res.sendfile(path);
}); });
} }

Loading…
Cancel
Save