Skip to content

Commit

Permalink
refactor: remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
endv-bogdanb committed May 31, 2024
1 parent 25a7e4c commit 2b029d7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/backend/handlers/delayMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { delay, http } from "msw";
import { makeUrl } from "@backend/utils";

async function delayMiddleware() {
console.log("i'm in delay middleware");
const ms = import.meta.env.DEV ? undefined : 1000;
await delay(ms);
}
Expand Down
1 change: 0 additions & 1 deletion src/backend/utils/makeUrl.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export function makeUrl(path = "", prefix = "/api") {
const baseURl = window.location.origin;
const url = new URL(`${prefix}/${path}`, baseURl);
console.log("make url ", url.toString());
return url.toString();
}

0 comments on commit 2b029d7

Please sign in to comment.