Cross Reference: controller.js
xref
: /
yui3
/
src
/
app
/
tests
/
manual
/
controller.js
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
controller.js revision 5125fb9611d90216a17ec67d0bd8a7b17b2fb734
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
(
4000
);