mirror of
https://github.com/coder/code-server.git
synced 2025-07-30 05:22:04 +08:00
Integrate update notifications into VS Code
This commit is contained in:
@ -59,6 +59,9 @@ export class ApiHttpProvider extends HttpProvider {
|
||||
|
||||
public async handleRequest(route: Route, request: http.IncomingMessage): Promise<HttpResponse> {
|
||||
this.ensureAuthenticated(request)
|
||||
if (route.requestPath !== "/index.html") {
|
||||
throw new HttpError("Not found", HttpCode.NotFound)
|
||||
}
|
||||
|
||||
switch (route.base) {
|
||||
case ApiEndpoint.applications:
|
||||
|
Reference in New Issue
Block a user