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 0e7fae6 commit 9d9f2f1Copy full SHA for 9d9f2f1
components/dashboard/src/service/service-mock.ts
components/dashboard/src/service/service.tsx
@@ -75,10 +75,6 @@ function instrumentWebSocketConnection(connectionProvider: WebSocketConnectionPr
75
export function getGitpodService(): GitpodService {
76
const w = window as any;
77
const _gp = w._gp || (w._gp = {});
78
- if (window.location.search.includes("service=mock")) {
79
- const service = _gp.gitpodService || (_gp.gitpodService = require("./service-mock").gitpodServiceMock);
80
- return service;
81
- }
82
let service = _gp.gitpodService;
83
if (!service) {
84
service = _gp.gitpodService = createGitpodService();
0 commit comments