Commit 43843c49 authored by Andreas Heimann's avatar Andreas Heimann

fixed dev flag

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