UNPKG
zeta
Version:
latest (0.7.0)
0.7.0
0.6.1
0.6.0
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.0
0.3.0
0.2.0
0.1.1
0.1.0
Write node web app in an angular and unexpress way
zetajs.io
BenBBear/Zeta
zeta
/
test
/
test.previous
/
static
/
index.js
11 lines
(8 loc)
•
272 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
var m =
require
(
'../../../'
).
module
(
'test-static'
, []), http =
require
(
'http'
); m.
config
(
'root'
, __dirname); m.
config
(
'public'
, __dirname +
'/public'
); m.
config
.of(
'built-in'
).of(
'static-server'
).val(
'indexFile'
, [
'.html'
,
'.htm'
]); m.l(); m.any(
"static"
); m.app();