dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable $wgServer autodetection to prevent cache poisoning attacks
[lhc/web/wiklou.git]
/
Gruntfile.js
diff --git
a/Gruntfile.js
b/Gruntfile.js
index
f3950f6
..
9615330
100644
(file)
--- a/
Gruntfile.js
+++ b/
Gruntfile.js
@@
-26,7
+26,7
@@
module.exports = function ( grunt ) {
cache: true
},
all: [
cache: true
},
all: [
- '**/*.
js{,
on}',
+ '**/*.
{js,js
on}',
'!docs/**',
'!node_modules/**',
'!resources/lib/**',
'!docs/**',
'!node_modules/**',
'!resources/lib/**',
@@
-117,7
+117,7
@@
module.exports = function ( grunt ) {
included: true,
served: false
} ],
included: true,
served: false
} ],
- logLevel:
'DEBUG'
,
+ logLevel:
( process.env.ZUUL_PROJECT ? 'DEBUG' : 'INFO' )
,
frameworks: [ 'qunit' ],
reporters: [ 'mocha' ],
singleRun: true,
frameworks: [ 'qunit' ],
reporters: [ 'mocha' ],
singleRun: true,