Skip to content
Snippets Groups Projects
Commit 478ea7c7 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

remove ending slash to prevent url rewrite with wrong http protocole

parent d3007d6d
No related branches found
No related tags found
1 merge request!66fixing queue status polling
......@@ -571,7 +571,7 @@ methods:{
async getStatus(){
await this.$axios.$get('/queue_status/').then((async function (resultStatus) {
await this.$axios.$get('/queue_status').then((function (resultStatus) {
console.log(resultStatus);
this.activeTask = resultStatus.active;
this.pendingTask = resultStatus.reserved;
......
......@@ -168,7 +168,7 @@ def get_manhattan(project_id: str, selected_chr: str, selected_region: str):
@app.get("/api/queue_status")
def project_detail():
def queue_status():
return JSONResponse(get_queue_status())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment