Skip to content

Commit

Permalink
fix(es-dev-server): don't normalize file path on a browser path
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsDenBakker authored and daKmoR committed Dec 2, 2019
1 parent 0083c84 commit 90cdeaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/es-dev-server/src/config.js
Expand Up @@ -184,7 +184,7 @@ export function createConfig(config) {
let openPath;
if (typeof open === 'string' && open !== '') {
// user-provided open path
openPath = path.normalize(open);
openPath = open;
} else if (appIndex) {
// if an appIndex was provided, use it's directory as open path
openPath = `${basePath || ''}${appIndexDir}/`;
Expand Down

0 comments on commit 90cdeaf

Please sign in to comment.