Added work on popular board listing
This commit is contained in:
parent
418881fc32
commit
179ec4a3be
5 changed files with 33 additions and 22 deletions
|
@ -35,7 +35,7 @@ let toggleLoadingMessage = function(){
|
|||
}
|
||||
}
|
||||
|
||||
fetch('/flow/version', {
|
||||
fetch('/circles/version', {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
"token": webpass
|
||||
|
@ -147,7 +147,7 @@ function getBlocks(){
|
|||
|
||||
}
|
||||
|
||||
fetch('/flow/getpostsbyboard/' + ch, {
|
||||
fetch('/circles/getpostsbyboard/' + ch, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
"token": webpass
|
||||
|
@ -181,7 +181,7 @@ function loadMessage(blockHash, blockList, count, channel){
|
|||
if (!response.ok) {
|
||||
let on404 = function() {
|
||||
if (response.status == 404){
|
||||
fetch('/flow/removefromcache/' + channel + '/' + blockHash, {
|
||||
fetch('/circles/removefromcache/' + channel + '/' + blockHash, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
"content-type": "application/json",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue