fixed package.json
set api endpoint to /api