mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-23 04:18:45 +00:00
chore(license): comment out cloud environment redirection logic in license settings page for future consideration
This commit is contained in:
@@ -36,14 +36,6 @@ export async function getServerSideProps(
|
|||||||
) {
|
) {
|
||||||
const { req, res } = ctx;
|
const { req, res } = ctx;
|
||||||
const locale = await getLocale(req.cookies);
|
const locale = await getLocale(req.cookies);
|
||||||
// if (IS_CLOUD) {
|
|
||||||
// return {
|
|
||||||
// redirect: {
|
|
||||||
// permanent: true,
|
|
||||||
// destination: "/dashboard/projects",
|
|
||||||
// },
|
|
||||||
// };
|
|
||||||
// }
|
|
||||||
const { user, session } = await validateRequest(ctx.req);
|
const { user, session } = await validateRequest(ctx.req);
|
||||||
if (!user) {
|
if (!user) {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user