Commit aae2e172 authored by Andreas Heimann's avatar Andreas Heimann

fixed api base url

parent bff9a93c
......@@ -3,9 +3,9 @@ const axios = require('axios');
class SHAPI {
constructor() {
if(isDev) {
this.apiBase = "https://spinsha.re/api/";
} else {
this.apiBase = "http://localhost/www/spinshare-server/public/index.php/api/";
} else {
this.apiBase = "https://spinsha.re/api/";
}
this.supportedVersion = 1;
}
......
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