aboutsummaryrefslogtreecommitdiff
path: root/src/lib.ts
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-07-05 15:57:46 +1000
committerTerry Truong <terry06890@gmail.com>2022-07-05 15:57:46 +1000
commit195e1111f286631fc871b49487755eaeafaf03a8 (patch)
tree1c319e8b7e291232c5e097a2f45e762ae54b22c1 /src/lib.ts
parent4bfd6889b2d6184f5500f47231b8288b4c04df04 (diff)
Add loading-from-server indicator
Diffstat (limited to 'src/lib.ts')
-rw-r--r--src/lib.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.ts b/src/lib.ts
index ee2103e..c034a3b 100644
--- a/src/lib.ts
+++ b/src/lib.ts
@@ -8,7 +8,7 @@ import {getBreakpoint, Breakpoint, getScrollBarWidth, onTouchDevice} from './uti
// For server requests
const SERVER_URL = 'http://localhost:8000/cgi-bin/data.py'
-export async function getServerResponse(params: string){
+export async function queryServer(params: string){
// Construct URL
let url = new URL(SERVER_URL);
url.search = params;