new changes in api base url

This commit is contained in:
2026-07-09 15:49:45 +05:30
parent 7cd0ae85ef
commit 4ef9cd9085
29 changed files with 2714 additions and 1191 deletions

View File

@@ -20,8 +20,8 @@ export default defineConfig(({mode}) => {
// HMR is disabled in AI Studio via DISABLE_HMR env var.
// Do not modify—file watching is disabled to prevent flickering during agent edits.
hmr: process.env.DISABLE_HMR !== 'true',
// Disable file watching when DISABLE_HMR is true to save CPU during agent edits.
watch: process.env.DISABLE_HMR === 'true' ? null : {},
// HMR enabled
watch: {},
// Proxy Hasura REST calls so the admin secret is injected server-side
// (kept out of the browser bundle) and CORS is avoided. The app calls e.g.
// /hasura/getordersummary?... -> https://api.workolik.com/api/rest/getordersummary?...