mirror of
https://github.com/gosticks/web.git
synced 2026-10-06 22:57:01 +00:00
Use the same http protocol as the web interface
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
This commit is contained in:
+1
-1
@@ -119,6 +119,6 @@ export const api = {
|
||||
else
|
||||
apiLocation = window.location.hostname + ":4747";
|
||||
|
||||
return "http://" + apiLocation + "/" + endpoint;
|
||||
return location.protocol + "//" + apiLocation + "/" + endpoint;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user