diff --git a/src/node/entry.ts b/src/node/entry.ts index 826d9a484..630e4b0b7 100644 --- a/src/node/entry.ts +++ b/src/node/entry.ts @@ -5,12 +5,12 @@ import http from "http" import * as path from "path" import { CliMessage, OpenCommandPipeArgs } from "../../lib/vscode/src/vs/server/ipc" import { plural } from "../common/util" -import { HealthHttpProvider } from "./app/health" -import { LoginHttpProvider } from "./app/login" -import { ProxyHttpProvider } from "./app/proxy" -import { StaticHttpProvider } from "./app/static" -import { UpdateHttpProvider } from "./app/update" -import { VscodeHttpProvider } from "./app/vscode" +import { HealthHttpProvider } from "./routes/health" +import { LoginHttpProvider } from "./routes/login" +import { ProxyHttpProvider } from "./routes/proxy" +import { StaticHttpProvider } from "./routes/static" +import { UpdateHttpProvider } from "./routes/update" +import { VscodeHttpProvider } from "./routes/vscode" import { DefaultedArgs, optionDescriptions, diff --git a/src/node/app/health.ts b/src/node/routes/health.ts similarity index 100% rename from src/node/app/health.ts rename to src/node/routes/health.ts diff --git a/src/node/app/login.ts b/src/node/routes/login.ts similarity index 100% rename from src/node/app/login.ts rename to src/node/routes/login.ts diff --git a/src/node/app/proxy.ts b/src/node/routes/proxy.ts similarity index 100% rename from src/node/app/proxy.ts rename to src/node/routes/proxy.ts diff --git a/src/node/app/static.ts b/src/node/routes/static.ts similarity index 100% rename from src/node/app/static.ts rename to src/node/routes/static.ts diff --git a/src/node/app/update.ts b/src/node/routes/update.ts similarity index 100% rename from src/node/app/update.ts rename to src/node/routes/update.ts diff --git a/src/node/app/vscode.ts b/src/node/routes/vscode.ts similarity index 100% rename from src/node/app/vscode.ts rename to src/node/routes/vscode.ts diff --git a/test/update.test.ts b/test/update.test.ts index 9e27eefaf..093429be3 100644 --- a/test/update.test.ts +++ b/test/update.test.ts @@ -2,8 +2,8 @@ import * as assert from "assert" import * as fs from "fs-extra" import * as http from "http" import * as path from "path" -import { LatestResponse, UpdateHttpProvider } from "../src/node/app/update" import { AuthType } from "../src/node/cli" +import { LatestResponse, UpdateHttpProvider } from "../src/node/routes/update" import { SettingsProvider, UpdateSettings } from "../src/node/settings" import { tmpdir } from "../src/node/util"