mirror of
https://gitea.com/gitea/blog.git
synced 2024-06-02 02:31:24 +05:30
remove
This commit is contained in:
parent
7ac27f1df7
commit
bcc739982e
|
@ -1,16 +0,0 @@
|
|||
module.exports = () => ({
|
||||
name: "docusaurus-repo-plugin",
|
||||
async loadContent() {
|
||||
const response = await fetch(
|
||||
`https://github-api.questdb.io/github/repo`,
|
||||
)
|
||||
|
||||
const data = await response.json()
|
||||
|
||||
return data
|
||||
},
|
||||
async contentLoaded({ content, actions }) {
|
||||
const { setGlobalData } = actions
|
||||
setGlobalData({ repo: content })
|
||||
},
|
||||
})
|
Loading…
Reference in a new issue