Disable touch drag & drop, warn on car delete with reservations, configure backend URL

Co-authored-by: pdf114514 <57948770+pdf114514@users.noreply.github.com>
Agent-Logs-Url: https://github.com/pdf114514/CarReservation/sessions/cd194ca1-b339-4f2f-b717-31a0ba193964
This commit is contained in:
copilot-swe-agent[bot]
2026-03-20 18:19:53 +00:00
parent 40371b43d1
commit c3dd0cfa69
7 changed files with 58 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
const API_BASE = '/api';
const API_BASE = (import.meta.env.VITE_API_BASE_URL ?? '') + '/api';
async function request(path, options = {}) {
const res = await fetch(`${API_BASE}${path}`, {