mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Updated API url, should fix GH-51
This commit is contained in:
parent
c216aa5f24
commit
cfec8e089b
@ -19,7 +19,7 @@
|
|||||||
result = JSON.parse(response.responseText);
|
result = JSON.parse(response.responseText);
|
||||||
latestvers = result.info.version.split(".");
|
latestvers = result.info.version.split(".");
|
||||||
|
|
||||||
neo.xhttprequest("/api/serverinfo",{},"GET",json=true).then((response)=>{
|
neo.xhttprequest("/apis/mlj_1/serverinfo",{},"GET",json=true).then((response)=>{
|
||||||
|
|
||||||
result = JSON.parse(response.responseText);
|
result = JSON.parse(response.responseText);
|
||||||
thisvers = result.version;
|
thisvers = result.version;
|
||||||
@ -68,7 +68,7 @@
|
|||||||
<li>upload artist and track art by dropping a file on the existing image on an artist or track page</li>
|
<li>upload artist and track art by dropping a file on the existing image on an artist or track page</li>
|
||||||
<li>see more detailed error pages</li>
|
<li>see more detailed error pages</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{% if adminmode %}
|
{% if adminmode %}
|
||||||
<span id="adminmodebutton" class="button" onclick="deactivate()">Deactivate</span>
|
<span id="adminmodebutton" class="button" onclick="deactivate()">Deactivate</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user