Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 1d99a98

Browse files
committed
fix(serve): correct paths so that --lab works
1 parent 17e5f9a commit 1d99a98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dev-server/serve-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ export interface ServeConfig {
1515
useProxy: boolean;
1616
}
1717
export const LOGGER_DIR = '__ion-dev-server';
18-
export const IONIC_LAB_URL = `/${LOGGER_DIR}/ionic_lab.html`;
18+
export const IONIC_LAB_URL = `/${LOGGER_DIR}/ionic-lab.html`;

src/serve.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function serve(context?: BuildContext) {
5151

5252
function onReady(config: ServeConfig, context: BuildContext) {
5353
if (config.launchBrowser || config.launchLab) {
54-
const openOptions: string[] = [`http://${config.host}:${config.httpPort}/`]
54+
const openOptions: string[] = [`http://${config.host}:${config.httpPort}`]
5555
.concat(launchLab(context) ? [IONIC_LAB_URL] : [])
5656
.concat(browserOption(context) ? [browserOption(context)] : [])
5757
.concat(platformOption(context) ? ['?ionicplatform=', platformOption(context)] : []);

0 commit comments

Comments
 (0)