Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add firebase remote config #376

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
chore: redirect live page (#391)
  • Loading branch information
Shurtu-gal authored Jan 3, 2023
commit 8c6f9a4051301a64c7f7083624adf26b0a43a401
9 changes: 9 additions & 0 deletions client/src/pages/live.jsx
Original file line number Diff line number Diff line change
@@ -74,6 +74,15 @@ const LivePage = () => {
);
};

export async function getServerSideProps() {
return {
redirect: {
destination: '/comingSoon',
permanent: false,
},
};
}

// export async function getServerSideProps() {
/**
* For lan restriction, if ever required