My HTML file is placed in the /public directory. But not to visit. The directory structure is as follows:
app.exe
-public
+Style
index.html
Can now access HTML. but Jester cannot load successfully JS and css.
INFO Jester is making jokes at http://127.0.0.1:5000/bookcx
DEBUG get /index.html
DEBUG 304 Not Modified {Content-Length: 0}
DEBUG get /Style/MyStyle.CSS
DEBUG 304 Not Modified {Content-Length: 0}
DEBUG get /Style/xhf.js
DEBUG 304 Not Modified {Content-Length: 0}
DEBUG get /Style/index.js
DEBUG 304 Not Modified {Content-Length: 0}
I have already solved the problem, the problem in the following statement:
<link href="Style/MyStyle.css" rel="stylesheet" type="text/css">
To change it into:
<link rel="stylesheet" type="text/css" href="Style/MyStyle.css">
Or,According to the contents of the original statement re wrote a cover,That is normal. But,Me to do a program with the jester, in get block using resp to the client returns the data, when a small amount of data, the client can receive a normal. Why the amount of data is very big, such as a tens of KB, the client will not receive?