From 5569c8191ae02f109254282b5943e3ed40032018 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sat, 9 Jul 2022 03:20:53 +1000 Subject: Replace CGI script with WSGI script and dev server --- src/App.vue | 2 +- src/lib.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3