Skip to content

solve: can't read static files in project unit 2 lesson 12 #7

@aliyarizadeh

Description

@aliyarizadeh

add this code to project for read static files

app.use(express.static(__dirname+'/public'));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions