Ghost
New
pippinmole
/
ghost
public
forked from
ghost/ghost
Source code of Ghost - On Ghost
Star
0
Fork
0
Code
Issues
0
Pull requests
0
main
76
branches
Go to file
t
Code
ghost
apps
web
src
app
settings
oauth-apps
page.tsx
allow orgs to create oauth apps
1afc634
3 days ago
12 lines · 393 B
1
import
{
notFound
}
from
"
next/navigation
"
;
2
3
import
{
createServerClient
}
4
import
{
OauthAppList
}
5
6
export
default
async
function
7
const
client
=
8
const
{
data
9
if
(
!
data
)
10
11
return
<
OauthAppList
apps
12
}
from
"
@/lib/api/server
"
;
from
"
@/components/oauth-apps/oauth-app-list
"
;
OauthAppsPage
()
{
await
createServerClient
()
;
}
=
await
client
.
GET
(
"
/api/oauth-apps
"
)
;
notFound
()
;
=
{
data
.
apps
}
/>
;