Cross Reference: controller.js
xref
: /
yui3
/
src
/
app
/
tests
/
manual
/
controller.js
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
controller.js revision f2a8495d95fb3a18b61cfdd9d24ddbd878eb6773
var
express
=
require
(
'express'
),
app
=
express
.
createServer
();
app
.
configure
(
function
(){
app
.
use
(
express
.
static
(
__dirname
));
});
app
.
get
(
'*'
,
function
(
req
,
res
){
res
.
sendfile
(
'
controller.html
'
);
});
app
.
listen
(
3001
);