dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
226b84f
)
Merge "build: Karma proxy should convert Host header"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Fri, 23 Dec 2016 02:06:16 +0000
(
02:06
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Fri, 23 Dec 2016 02:06:16 +0000
(
02:06
+0000)
Gruntfile.js
patch
|
blob
|
history
diff --git
a/Gruntfile.js
b/Gruntfile.js
index
55b7932
..
7b3af54
100644
(file)
--- a/
Gruntfile.js
+++ b/
Gruntfile.js
@@
-14,7
+14,10
@@
module.exports = function ( grunt ) {
grunt.loadNpmTasks( 'grunt-karma' );
grunt.loadNpmTasks( 'grunt-stylelint' );
- karmaProxy[ wgScriptPath ] = wgServer + wgScriptPath;
+ karmaProxy[ wgScriptPath ] = {
+ target: wgServer + wgScriptPath,
+ changeOrigin: true
+ };
grunt.initConfig( {
eslint: {