Commit 473dffdb authored by Andreas Heimann's avatar Andreas Heimann

fixed debug api url

parent 0420007c
Pipeline #7 failed with stages
in 52 seconds
{ {
"name": "spinshare-client", "name": "spinshare-client",
"version": "1.0.0", "version": "1.2.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
......
...@@ -3,7 +3,7 @@ const axios = require('axios'); ...@@ -3,7 +3,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