aboutsummaryrefslogtreecommitdiff
path: root/src/lib.ts
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-07-09 03:20:53 +1000
committerTerry Truong <terry06890@gmail.com>2022-07-09 04:36:52 +1000
commit5569c8191ae02f109254282b5943e3ed40032018 (patch)
tree0ec5c2f6176c470aaeaa41be9bfbb0825554b764 /src/lib.ts
parent347f5127929b17671c75734af5a374ec4f39b5ae (diff)
Replace CGI script with WSGI script and dev server
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 d737879..0422389 100644
--- a/src/lib.ts
+++ b/src/lib.ts
@@ -7,7 +7,7 @@ import {LayoutOptions} from './layout';
import {getBreakpoint, Breakpoint, getScrollBarWidth, onTouchDevice} from './util';
// For server requests
-const SERVER_URL = window.location.href + 'cgi-bin/data.py'
+const SERVER_URL = window.location.href + 'data'
export async function queryServer(params: URLSearchParams){
// Construct URL
let url = new URL(SERVER_URL);