мой экспресс-файл выглядит примерно так:экспресс-файл не служит приложение
var express = require('express');
var http = require('http');
var conf = require('./conf');
var app = express();
/*********** start server ************/
http.createServer(app).listen(conf.port, function() {
console.log('Express server listening on port ' + conf.port);
});
/****** Serving Static pages *********/
app.use(express.static(__dirname + '/../client/dist/src/'));
расстояние папки выглядит примерно так:
dist/
jquery_lib.js
angular_lib.js
app.js
src/
index.html
partials/
state1.tpl.html
state2.tpl.html
Когда я посещаю
http://localhost:12345/index.html
в браузер, браузер не может найти
jquery_lib.js, angular_lib.js и app.js index.html ссылается на эти файлы, как показано ниже:
<script src="../jquery_lib.js"></script>
<script src="../angular_lib.js"></script>
<script src="../app.js"></script>
Любые подсказки, почему браузер не может найти эти файлы?