Comments (7)
This's actually a regression caused by commit 4103a75.
By enabling the compression can quickly avoid this problem:
server:
compress: true
from hexo-server.
Hmmm, definitely an issue. But is it the rendering issue or the server issue?
from hexo-server.
It renders correct after deploy, so I file the issue here.
from hexo-server.
mark 遇到同样的问题,好疑惑
from hexo-server.
Sometimes the 'over-flooded' Chinese characters just get cut out, instead of being replaced by random symbols.
from hexo-server.
Still got the same result on hexo: 3.3.1 when rendered in the localhost, but it's rendered correctly on github.
It seems that the response is corrupt. The end of response body seems to be truncated and mixed up with some, e.g.:
<script type="text/javascript" src="/ "undefined" && _ctx.name !== null) ? ((typeof _ctx.name !== "undefined" && _ctx.name !== null) ? _ctx.name : "") : ((typeof name !== "undefined" && name !== null) ? name : "")) !== null ? ((t
It should be something like:
<script type="text/javascript" src="/js/src/motion.js?v=5.1.1"></script>
<script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.1"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.1"></script>
<script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.1"></script>
instead.
from hexo-server.
The solution of @wayou is actually correct. But the description seems inconsistent with code? disabling or enabling?
from hexo-server.
Related Issues (20)
- [BUG] `hexo server` hanging forever when repo contains any invalid symbolic link HOT 9
- Can hexo server be used in Javascript? HOT 1
- [Bug] Wrong MIME type for atom.xml
- Dev server cannot serve video to iOS devices (server does not reply to range requests properly) HOT 5
- Debugging in VScode: Websocket error using `127.0.0.1` with node inspector
- Debugging in VScode: "port already in use" error HOT 2
- hexo server hyperlink points at the wrong page HOT 1
- Serve on both IPv4 and IPv6 interfaces by default HOT 5
- hexo server not working HOT 1
- Hexo s can't console the file changes HOT 1
- A known security vulnerabilities in your dependencies.Please update it.Thx. HOT 3
- Crash when callin hexo server -o HOT 1
- Can't load webpack output js file HOT 2
- Ignore themes Node_modules HOT 2
- When Hexo repo contains any invalid symbolic link, this server will hang forever. HOT 1
- Server should check whether header has already been set to prevent overwriting HOT 6
- dependency mime vulnerability
- Query part of URL is not preserved across redirects
- Caching possible? HOT 1
- Hexo Server does not work in Cloud 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-server.