aboutsummaryrefslogtreecommitdiff
path: root/src
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
parent347f5127929b17671c75734af5a374ec4f39b5ae (diff)
Replace CGI script with WSGI script and dev server
Diffstat (limited to 'src')
-rw-r--r--src/App.vue2
-rw-r--r--src/lib.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/App.vue b/src/App.vue
index e379a1d..77de7ca 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -780,7 +780,7 @@ export default defineComponent({
primeLoadInd(msg: string){
this.pendingLoadingRevealHdlr = setTimeout(() => {
this.loadingMsg = msg;
- }, 300);
+ }, 500);
},
endLoadInd(){
clearTimeout(this.pendingLoadingRevealHdlr);
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);