Open SalwaMugh opened 5 years ago
https://github.com/FACG6/emotion-detector/blob/722171050724feb8aedef4fb487e6922f6d32d5d/src/router.js#L14
you need to protect your route from get METHOD rewrite it like this
else if (endponit === '/search' && req.method === 'POST')
https://github.com/FACG6/emotion-detector/blob/722171050724feb8aedef4fb487e6922f6d32d5d/src/router.js#L14
you need to protect your route from get METHOD rewrite it like this