Add password protect for bots
yasinatesim opened this issue · 3 comments
yasinatesim commented
Add password protect for bots
kayloko commented
so how do we get the admin password ?
yasinatesim commented
Hey @kayloko,
There is a encrypt
function in the project https://github.com/yasinatesim/instagram-fullsize-picture/blob/master/src/helpers/encrypt.ts
you can use below steps;
- create a new password for project.
console.log(encrypt('<YOUR-ADMIN-PASSWORD>'))
for example usage;
https://github.com/yasinatesim/instagram-fullsize-picture/blob/master/pages/_app.tsx#L22
-
Copy your new password in the browser console
-
Update your .env file
NEXT_PUBLIC_ADMIN_PASSWORD='<YOUR-ADMIN-PASSWORD>'
I had to impose a restriction because the app faced so so many requests
yasinatesim commented