Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked from nswbmw/N-blog

使用 Express + MongoDB 搭建多人博客

Notifications You must be signed in to change notification settings

ExamplesTest/N-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

20 Commits

Repository files navigation

N-blog

使用 Express + MongoDB 搭建多人博客

教程见 wiki

bug修复日志:###

(2013年5月24日)bug-fix-1:

1.打开 header.ejs ,将 <style type="text/css">...</style> 修改为:<link rel="stylesheet" href="/stylesheets/style.css">

2.把原先 <style type="text/css">...</style> 中的样式全部放到 public/stylesheets/style.css

3.打开 app.js ,将:

app.use(app.router);
app.use(express.static(path.join(__dirname, 'public')));

修改为:

app.use(express.static(path.join(__dirname, 'public')));
app.use(app.router);

About

使用 Express + MongoDB 搭建多人博客

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /