Skip to content

Commit

Permalink
fix: replace _sv query string by studio-version
Browse files Browse the repository at this point in the history
  • Loading branch information
Amzani committed Feb 27, 2024
1 parent be9106a commit 03a0ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/Studio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function start(filePath: string, port: number = DEFAULT_PORT): void {
});

server.listen(port, () => {
const url = `http://localhost:${port}?liveServer=${port}&_sv=${studioVersion}`;
const url = `http://localhost:${port}?liveServer=${port}&studio-version=${studioVersion}`;
console.log(`Studio is running at ${url}`);
console.log(`Watching changes on file ${filePath}`);
open(url);
Expand Down

0 comments on commit 03a0ce8

Please sign in to comment.