Commit 74d5b35c authored by quentin.vrel's avatar quentin.vrel

api root test

parent da36ebf5
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
// Post new user if all tests are ok // Post new user if all tests are ok
if (event.submitter.id=='validate') { if (event.submitter.id=='validate') {
let request = await fetch('http://localhost/index.php/user', let request = await fetch(this.$apiRoot+'/user',
{ {
method: 'POST', method: 'POST',
headers: { headers: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment