Skip to content

[Server-Side Testing] Index page doesn't load immediately  #91

@otajor

Description

@otajor

https://github.com/FAC7/READMEs/blob/master/week4/server-testing-tutorial/server.js#L9

If you start the server and go to localhost:8000, it stays loading forever instead of loading index. I guess this is because the if statement isn't kicking in - maybe url.length is not 1?

We had to add another else branch at the end to make it load..

@katbow @RobStallion

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions