new changes in api base url
This commit is contained in:
@@ -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?...
|
||||
|
||||
Reference in New Issue
Block a user