Skip to content

feel free to use path lib #20

@Walidmash

Description

@Walidmash

you using 'path' module , however . you dont use its function "join" in

 fs.readFile(__dirname + '/../public/index.html', function(err, data) {

which can be used instead of "+" and helps in removing "/" which not compatible for all OS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions