my-app
Preparing search index...
pages/session/[id]
getServerSideProps
Function getServerSideProps
getServerSideProps
(
context
:
GetServerSidePropsContext
<
ParsedUrlQuery
,
PreviewData
>
,
)
:
Promise
<
|
{
notFound
:
boolean
;
redirect
?:
undefined
}
|
{
notFound
?:
undefined
;
redirect
:
{
destination
:
string
;
permanent
:
boolean
}
;
}
,
>
Parameters
context
:
GetServerSidePropsContext
<
ParsedUrlQuery
,
PreviewData
>
Returns
Promise
<
|
{
notFound
:
boolean
;
redirect
?:
undefined
}
|
{
notFound
?:
undefined
;
redirect
:
{
destination
:
string
;
permanent
:
boolean
}
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
my-app
Loading...