Skip to content

Feat: Completed lesson 15 and added all the files#361

Open
HeirJordan3 wants to merge 1 commit intocode-differently:mainfrom
HeirJordan3:Lesson15
Open

Feat: Completed lesson 15 and added all the files#361
HeirJordan3 wants to merge 1 commit intocode-differently:mainfrom
HeirJordan3:Lesson15

Conversation

@HeirJordan3
Copy link
Contributor

No description provided.

const app: Express = express();
const port = process.env.PORT || 3000;

app.use(express.static('ts-node-express/Jordan'));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong directory.


app.use(express.static('ts-node-express/Jordan'));

app.get("/", (req: Request, res: Response) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't need this if you fix the static middleware above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants