Fixes dev port.

This commit is contained in:
Henning Dieterichs
2020-08-16 11:03:05 +02:00
parent 24aa6857e5
commit b23b90c8bf

View File

@@ -63,7 +63,7 @@ export class WebviewServer {
expression?: string;
mode: "standalone" | "webviewIFrame";
}): string {
const port = process.env.USE_DEV_UI ? 8081 : this.port;
const port = process.env.USE_DEV_UI ? 8080 : this.port;
const params: Record<string, string> = {
serverPort: this.port.toString(),
serverSecret: this.secret,