Skip to content

Commit 37a57da

Browse files
committed
config
1 parent 416671d commit 37a57da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

example.ls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/singlefile
22

3-
export cfg =
3+
export config =
44
port: 3000
55
base: 'default'
66

singlefile.ls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ err <- fs.writeFile 'public/client.js', client_code
7373
# return cb void
7474

7575
#app = void
76-
cfg = script.cfg
76+
cfg = script.config
7777
#if cfg
7878
# if cfg.base=='default'
7979
# express = require('express')

0 commit comments

Comments
 (0)