diff --git a/README.md b/README.md index 6469ed3..16f2474 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ yarn yarn run web-rebuild # build web yarn run build-web -# start project, visit 127.0.0.1:8080 +# start project, visit http://localhost:8080 or http://localhost:8080/?workspaceDir=workspace_dir yarn run start-web ``` diff --git a/src/bootstrap-web/node/start-server.ts b/src/bootstrap-web/node/start-server.ts index 8694d11..54018f9 100644 --- a/src/bootstrap-web/node/start-server.ts +++ b/src/bootstrap-web/node/start-server.ts @@ -3,7 +3,6 @@ import * as http from 'http'; import Koa from 'koa'; import koaStatic from 'koa-static'; import { Deferred } from '@opensumi/ide-core-common'; -import { DEFAULT_ALIPAY_CLOUD_REGISTRY } from '@opensumi/ide-core-common/lib/const/application'; import { IServerAppOpts, ServerApp, NodeModule } from '@opensumi/ide-core-node'; export async function startServer(arg1: NodeModule[] | Partial) { @@ -30,9 +29,6 @@ export async function startServer(arg1: NodeModule[] | Partial) }; opts.marketplace = { - endpoint: DEFAULT_ALIPAY_CLOUD_REGISTRY.ENDPOINT, - accountId: DEFAULT_ALIPAY_CLOUD_REGISTRY.ACCOUNT_ID, - masterKey: DEFAULT_ALIPAY_CLOUD_REGISTRY.MASTER_KEY, showBuiltinExtensions: true, }