fix the /api route
Revert "route /api Fix"

This reverts commit e9ed38c04dbb5201d6b532f09c3356e04cc88c68.

Conflicts:
	index.js