提交 e5c1409a 编写于 作者: J Jason Park

Merge branch 'master' of github.com:algorithm-visualizer/algorithm-visualizer

......@@ -9,7 +9,7 @@
## Project Structure
The project [algorithm-visualizer](https://github.com/algorithm-visualizer) consists of the following three repositories.
The project [Algorithm Visualizer](https://github.com/algorithm-visualizer) consists of the following three repositories.
- [`algorithms`](https://github.com/algorithm-visualizer/algorithms) contains public algorithms shown on the sidebar.
......
......@@ -39,7 +39,7 @@ if (__DEV__) {
});
});
} else {
app.use(express.static(frontendBuildPath));
app.use(express.static(frontendBuildPath, { index: false }));
app.use((req, res, next) => {
const filePath = path.resolve(frontendBuildPath, 'index.html');
fs.readFile(filePath, 'utf8', (err, data) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册