Skip to content

Commit 5aca55f

Browse files
committed
fix(e2e:prod): turn off lusca if using saucelabs
1 parent 8827e93 commit 5aca55f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/app/server/config/express.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default function(app) {
5656
* Lusca - express server security
5757
* https://github.com/krakenjs/lusca
5858
*/
59-
if ('test' !== env) {
59+
if (env !== 'test' && !process.env.SAUCE_USERNAME) {
6060
app.use(lusca({
6161
csrf: {
6262
angular: true

0 commit comments

Comments
 (0)