Skip to content

Commit 34826b2

Browse files
committed
logged out base url for apiClient baseUrl
1 parent e0850b7 commit 34826b2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/frontend/Sudoku.React/src/api/apiClient.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { GameModel } from '../types';
33
const BASE_URL = import.meta.env.VITE_API_BASE_URL ?? '';
44

55
async function request<T>(path: string, options?: RequestInit): Promise<T> {
6+
console.log(`BASE_URL: ${BASE_URL}, Requesting: ${path}`);
67
const res = await fetch(`${BASE_URL}${path}`, {
78
headers: { 'Content-Type': 'application/json', ...options?.headers },
89
...options,

0 commit comments

Comments
 (0)