Fixed refresh bug on Windows.

This commit is contained in:
CalDescent 2023-05-05 11:03:13 +01:00
parent 2dfee13d86
commit f39b6a15da

View File

@ -67,8 +67,8 @@ public class ArbitraryDataRenderer {
} }
public HttpServletResponse render() { public HttpServletResponse render() {
if (!inPath.startsWith(File.separator)) { if (!inPath.startsWith("/")) {
inPath = File.separator + inPath; inPath = "/" + inPath;
} }
// Don't render data if QDN is disabled // Don't render data if QDN is disabled