Change to use api url config for generating sample data.
Build and Deploy Web App / build-and-deploy (push) Successful in 17s
Details
Build and Deploy Web App / build-and-deploy (push) Successful in 17s
Details
This commit is contained in:
parent
7a74d5f17e
commit
2dae054950
|
|
@ -49,7 +49,7 @@ function isDataValid() {
|
|||
}
|
||||
|
||||
function generateSampleData() {
|
||||
fetch('http://localhost:8080/api/sample-data', {
|
||||
fetch(import.meta.env.VITE_API_BASE_URL + '/sample-data', {
|
||||
method: 'POST'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue