Will it work after deployment? Or it only works on localhost
No, only for the localhost. Once you deploy your application you go to Google API console and go where you have added localhost, there add URI of your deployed app also, then it will work after deployment also.
Thank you
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Will it work after deployment? Or it only works on localhost
No, only for the localhost. Once you deploy your application you go to Google API console and go where you have added localhost, there add URI of your deployed app also, then it will work after deployment also.
Thank you