RWKV-Runner icon indicating copy to clipboard operation
RWKV-Runner copied to clipboard

webui启动后空白

Open Garrfiiel opened this issue 1 year ago • 1 comments

python ./backend-python/main.py --webui #同时启动前后端服务

启动后,页面空白,后台显示304 Not Modified

win11 python3.10 nodejs20

image image

Garrfiiel avatar Dec 28 '23 03:12 Garrfiiel

我也有类似的情况,我发现是因为现在chrome和firefox版本太高了,类型嗅探好像是默认关闭的(这个我不确定),现在代码中的http server设置的content-type全部是text,浏览器就把*.js文件不作为javascript脚本来执行。我python不熟,换nginx作为http server就解决了,只不过需要自己配置下后端的反向代理

hewei7senderjoy avatar May 08 '24 06:05 hewei7senderjoy

同样的问题,不知道怎么解决

Tokiichika avatar Oct 14 '24 06:10 Tokiichika