Skip to content

Commit

Permalink
change default API URL in the webapp from localhost:5001 to localhost…
Browse files Browse the repository at this point in the history
…:5000
  • Loading branch information
jdbocarsly committed Aug 28, 2024
1 parent 5bd7e24 commit 87417b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion webapp/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import { defineConfig } from "cypress";
export default defineConfig({
projectId: "4kqx5i",
e2e: {
// these defaults can be overwritten by environment variables in .env.test_e2e
baseUrl: "http://localhost:8080",
apiUrl: "http://localhost:5001",
apiUrl: "http://localhost:5000",
experimentalMemoryManagement: true,
defaultCommandTimeout: 10000,
},
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import CellCreateModalAddon from "@/components/itemCreateModalAddons/CellCreateM

// Look for values set in .env file. Use defaults if `null` is not explicitly handled elsewhere in the code.
export const API_URL =
process.env.VUE_APP_API_URL != null ? process.env.VUE_APP_API_URL : "http://localhost:5001";
process.env.VUE_APP_API_URL != null ? process.env.VUE_APP_API_URL : "http://localhost:5000";
export const API_TOKEN = process.env.VUE_APP_API_TOKEN;

export const LOGO_URL = process.env.VUE_APP_LOGO_URL;
Expand Down

0 comments on commit 87417b7

Please sign in to comment.