We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 26a0f09 + 4a36141 commit 3b827ebCopy full SHA for 3b827eb
src/App.jsx
@@ -98,7 +98,7 @@ export default function App() {
98
// Function to fetch default values for a node type
99
const fetchDefaultValues = async (nodeType) => {
100
try {
101
- const response = await fetch(`http://localhost:8000/default-values/${nodeType}`);
+ const response = await fetch(getApiEndpoint(`/default-values/${nodeType}`));
102
if (response.ok) {
103
const defaults = await response.json();
104
return defaults;
0 commit comments