Wrap your getServerSideProps with this method to make sure the user is authenticated before visiting the page. // pages/protected-page.js import { ...
確定! 回上一頁