From 3aa1881c55a974bd8da500f4897a846aa6e43520 Mon Sep 17 00:00:00 2001 From: xmcp Date: Sun, 18 Aug 2019 18:27:05 +0800 Subject: [PATCH] troubleshoot http2 --- src/Flows.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Flows.js b/src/Flows.js index bdec505..c1ff56d 100644 --- a/src/Flows.js +++ b/src/Flows.js @@ -10,8 +10,9 @@ import {TokenCtx, ReplyForm} from './UserAction'; import {API, PKUHELPER_ROOT} from './flows_api'; -const IMAGE_BASE=PKUHELPER_ROOT+'services/pkuhole/images/'; -const AUDIO_BASE=PKUHELPER_ROOT+'services/pkuhole/audios/'; +// troubleshotting performance problem with http2 +const IMAGE_BASE='http://pkuhelper.pku.edu.cn/services/pkuhole/images/'; +const AUDIO_BASE='http://pkuhelper.pku.edu.cn/services/pkuhole/audios/'; const SEARCH_PAGESIZE=50; const CLICKABLE_TAGS={a: true, audio: true};