-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle fallback for host only matching (#15)
- Loading branch information
1 parent
5821556
commit 37065aa
Showing
4 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
const opn = require('../dist/index'); | ||
const opn = require('../src/index'); | ||
|
||
// Run test/open.js first, then run this to ensure tab is reused | ||
process.env.OPEN_MATCH_HOST_ONLY = 'true'; | ||
opn('http://localhost:8000/foo/bar'); | ||
opn('http://localhost:8000/foo'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
const opn = require('../dist/index'); | ||
const opn = require('../src/index'); | ||
|
||
opn('http://localhost:8000'); |