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

Commit

Permalink
fix(serve): correct paths so that --lab works
Browse files Browse the repository at this point in the history
  • Loading branch information
jthoms1 committed Nov 10, 2016
1 parent 17e5f9a commit 1d99a98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dev-server/serve-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ export interface ServeConfig {
useProxy: boolean;
}
export const LOGGER_DIR = '__ion-dev-server';
export const IONIC_LAB_URL = `/${LOGGER_DIR}/ionic_lab.html`;
export const IONIC_LAB_URL = `/${LOGGER_DIR}/ionic-lab.html`;
2 changes: 1 addition & 1 deletion src/serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function serve(context?: BuildContext) {

function onReady(config: ServeConfig, context: BuildContext) {
if (config.launchBrowser || config.launchLab) {
const openOptions: string[] = [`http://${config.host}:${config.httpPort}/`]
const openOptions: string[] = [`http://${config.host}:${config.httpPort}`]
.concat(launchLab(context) ? [IONIC_LAB_URL] : [])
.concat(browserOption(context) ? [browserOption(context)] : [])
.concat(platformOption(context) ? ['?ionicplatform=', platformOption(context)] : []);
Expand Down

1 comment on commit 1d99a98

@MELAS007
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HI! Where can i find theses files on windows 7?

Please sign in to comment.