Skip to content

Commit

Permalink
update proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
khavinshankar committed Mar 8, 2024
1 parent 6d21d4c commit f40e521
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ export default defineConfig({
port: 4000,
proxy: {
"/api": {
target: process.env.CARE_API ?? "https://work.khavinshankar.dev",
target:
"https://work.khavinshankar.dev" ??
process.env.CARE_API ??
"https://careapi.ohc.network",
changeOrigin: true,
},
},
Expand All @@ -94,7 +97,10 @@ export default defineConfig({
port: 4000,
proxy: {
"/api": {
target: process.env.CARE_API ?? "https://work.khavinshankar.dev",
target:
"https://work.khavinshankar.dev" ??
process.env.CARE_API ??
"https://careapi.ohc.network",
changeOrigin: true,
},
},
Expand Down

0 comments on commit f40e521

Please sign in to comment.