wiki style document editor
Révision | f3d83e1fdff24e1199e6fdfc4cc75f0eeb2d62f0 (tree) |
---|---|
l'heure | 2014-07-13 23:25:05 |
Auteur | hylom <hylom@hylo...> |
Commiter | hylom |
fix: use local bootstrap files
@@ -22,6 +22,7 @@ app.use(bodyParser.json()); | ||
22 | 22 | app.use(bodyParser.urlencoded()); |
23 | 23 | app.use(cookieParser()); |
24 | 24 | app.use(express.static(path.join(__dirname, 'public'))); |
25 | +app.use(express.static(path.join(__dirname, 'node_modules/bootstrap/dist'))); | |
25 | 26 | |
26 | 27 | app.use('/api', api); |
27 | 28 | app.all('/api/*', notFound); |
@@ -12,6 +12,7 @@ | ||
12 | 12 | "cookie-parser": "~1.0.1", |
13 | 13 | "body-parser": "~1.0.0", |
14 | 14 | "debug": "~0.7.4", |
15 | - "jade": "~1.3.0" | |
15 | + "jade": "~1.3.0", | |
16 | + "bootstrap": "~3.2.0" | |
16 | 17 | } |
17 | -} | |
\ No newline at end of file | ||
18 | +} |
@@ -7,9 +7,9 @@ html(lang='en') | ||
7 | 7 | script(src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js") |
8 | 8 | |
9 | 9 | // Bootstrap |
10 | - link(rel="stylesheet", href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css") | |
11 | - link(rel="stylesheet", href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css") | |
12 | - script(src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js") | |
10 | + link(rel="stylesheet", href="/css/bootstrap-theme.min.css") | |
11 | + link(rel="stylesheet", href="/css/bootstrap.min.css") | |
12 | + script(src="/js/bootstrap.min.js") | |
13 | 13 | |
14 | 14 | link(rel='stylesheet', href='/stylesheets/style.css') |
15 | 15 | script(src='/javascripts/pagewriter.js') |