chanded api names
This commit is contained in:
@@ -106,7 +106,7 @@ export default function CarConfigurator() {
|
||||
|
||||
// Load data.json — served from /public/data.json, readable by all users
|
||||
useEffect(() => {
|
||||
fetch("/api/data")
|
||||
fetch("/frontend-api/data")
|
||||
.then((r) => r.json())
|
||||
.then((data) => {
|
||||
setAppData(data);
|
||||
|
||||
Reference in New Issue
Block a user