Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default defineConfig({
define: {
// ensure that you give these types in `src/vite-end.d.ts`
GITHUB_RUNTIME_PERMANENT_NAME: JSON.stringify(GITHUB_RUNTIME_PERMANENT_NAME),
BASE_KV_SERVICE_URL: JSON.stringify("/kv"),
BASE_KV_SERVICE_URL: JSON.stringify("/_spark/kv"),
},
server: {
port: 5000,
Expand Down Expand Up @@ -71,11 +71,11 @@ export default defineConfig({
// Any new endpoints defined in the backend server need to be added here
// as vite serves the frontend during local development and in the live preview,
// and needs to know to proxy the endpoints to the backend server.
"/kv": {
"/_spark/kv": {
target: "http://localhost:8000",
changeOrigin: true,
},
"/llm": {
"/_spark/llm": {
target: "http://localhost:8000",
changeOrigin: true,
},
Expand Down