Skip to content

Commit 7f45829

Browse files
author
Bradley Spaulding
committed
Using current ip instead of localhost so real ios devices on browserstack will work.
1 parent c5a5203 commit 7f45829

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

karma.conf.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
require('dotenv').config();
22
var webpackConfig = require('./webpack.config.js');
3+
var ip = require('ip');
34

45
module.exports = function(config) {
56
config.set({
67

78
// base path that will be used to resolve all patterns (eg. files, exclude)
89
basePath: '',
910

11+
hostname: ip.address(),
12+
1013

1114
// frameworks to use
1215
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter

0 commit comments

Comments
 (0)