forked from external-repos/pa11y-dashboard
@@ -3,7 +3,12 @@ module.exports = function (grunt) {
|
|||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
|
|
||||||
jshint: {
|
jshint: {
|
||||||
all: ['**/*.js', '!node_modules/**/*.js', '!public/js/vendor/**/*.js', '!public/js/site.min.js'],
|
all: [
|
||||||
|
'**/*.js',
|
||||||
|
'!node_modules/**/*.js',
|
||||||
|
'!public/js/vendor/**/*.js',
|
||||||
|
'!public/js/site.min.js'
|
||||||
|
],
|
||||||
options: {
|
options: {
|
||||||
es3: false,
|
es3: false,
|
||||||
indent: 4,
|
indent: 4,
|
||||||
|
@@ -40,7 +40,7 @@ function route (app) {
|
|||||||
moment(result.date).format('YYYY-MM-DD'),
|
moment(result.date).format('YYYY-MM-DD'),
|
||||||
'.',
|
'.',
|
||||||
extension
|
extension
|
||||||
].join('')
|
].join('');
|
||||||
}
|
}
|
||||||
|
|
||||||
app.express.get('/:id/:rid.csv', getTaskAndResult, function (req, res) {
|
app.express.get('/:id/:rid.csv', getTaskAndResult, function (req, res) {
|
||||||
|
Reference in New Issue
Block a user