We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6dcda8 commit 31ecbd7Copy full SHA for 31ecbd7
components/dashboard/src/service/service-mock.ts
components/dashboard/src/service/service.tsx
@@ -74,10 +74,6 @@ function instrumentWebSocketConnection(connectionProvider: WebSocketConnectionPr
74
export function getGitpodService(): GitpodService {
75
const w = window as any;
76
const _gp = w._gp || (w._gp = {});
77
- if (window.location.search.includes("service=mock")) {
78
- const service = _gp.gitpodService || (_gp.gitpodService = require("./service-mock").gitpodServiceMock);
79
- return service;
80
- }
81
let service = _gp.gitpodService;
82
if (!service) {
83
service = _gp.gitpodService = createGitpodService();
0 commit comments