projects
/
henge
/
kiak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfixes
[henge/kiak.git]
/
main.js
diff --git
a/main.js
b/main.js
index
15bdde9
..
cf2f3a3
100644
(file)
--- a/
main.js
+++ b/
main.js
@@
-48,7
+48,6
@@
const routeConnection = (request,response) => {
serveFile(opts['index'])
else if (routeName in opts['bindings']) {
let localPath = path.normalize(opts['bindings'][routeName].concat(path.sep + routePath.slice(1).join(path.sep)))
serveFile(opts['index'])
else if (routeName in opts['bindings']) {
let localPath = path.normalize(opts['bindings'][routeName].concat(path.sep + routePath.slice(1).join(path.sep)))
- console.log(localPath)
if (localPath.includes(opts['bindings'][routeName])) {
fs.readdir(localPath, (err, files) => {
if (err)
if (localPath.includes(opts['bindings'][routeName])) {
fs.readdir(localPath, (err, files) => {
if (err)