brew install nss
brew install mkcert
mkcert -install
mkcert -key-file ./.certs/key.pem -cert-file ./.certs/cert.pem localhost
"scripts": {
"dev": "nuxt dev --port 8080 --https=true --ssl-cert=.certs/cert.pem --ssl-key=.certs/key.pem -o"
},
로그인 작업을 하다 https 에러가...
페이스북의 경우 검색해보니 그냥 로컬호스트 등록하면 안되고 테스트 앱을 생성해 로컬주소를 설정해주면 된다 해서 해줬는데 에러는 계속 났다😰
그래서 검색해보니 로컬서버에서도 https를 설정해줄 수 있다 해서 작업해보니 에러가 사라졌다 만세🖐🏼🤚🏼
https 설정을 해주니 메타가 지원하는 버튼도 잘나왔...?!