mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
chore: add link to new status page to docs, dash
Some checks failed
Build dashboard Docker image / dashboard docker build (push) Has been cancelled
Some checks failed
Build dashboard Docker image / dashboard docker build (push) Has been cancelled
This commit is contained in:
parent
d4611b3769
commit
2fc5f2a9d9
3 changed files with 8 additions and 3 deletions
|
|
@ -64,6 +64,10 @@ func main() {
|
||||||
createEmbed(rw, r)
|
createEmbed(rw, r)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
r.Get("/status", func(rw http.ResponseWriter, r *http.Request) {
|
||||||
|
http.Redirect(rw, r, "https://status.pluralkit.me/", http.StatusMovedPermanently)
|
||||||
|
})
|
||||||
|
|
||||||
http.ListenAndServe(":8080", r)
|
http.ListenAndServe(":8080", r)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
<Link to="/profile" class="nav-link">Public</Link>
|
<Link to="/profile" class="nav-link">Public</Link>
|
||||||
</NavItem>
|
</NavItem>
|
||||||
<NavItem>
|
<NavItem>
|
||||||
<Link to="/status" class="nav-link">Bot status</Link>
|
<a href="https://status.pluralkit.me/" class="nav-link">Bot status</a>
|
||||||
</NavItem>
|
</NavItem>
|
||||||
</Nav>
|
</Nav>
|
||||||
</Collapse>
|
</Collapse>
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
|
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
repo: 'PluralKit/PluralKit',
|
repo: false,
|
||||||
docsDir: 'docs/content/',
|
docsDir: 'docs/content/',
|
||||||
docsBranch: 'main',
|
docsBranch: 'main',
|
||||||
editLinks: true,
|
editLinks: true,
|
||||||
|
|
@ -29,7 +29,8 @@ module.exports = {
|
||||||
nav: [
|
nav: [
|
||||||
{ text: "Web dashboard", link: "https://dash.pluralkit.me" },
|
{ text: "Web dashboard", link: "https://dash.pluralkit.me" },
|
||||||
{ text: "Support server", link: "https://discord.gg/PczBt78" },
|
{ text: "Support server", link: "https://discord.gg/PczBt78" },
|
||||||
{ text: "Invite bot", link: "https://discord.com/oauth2/authorize?client_id=466378653216014359&scope=bot%20applications.commands&permissions=536995904" }
|
{ text: "Invite bot", link: "https://discord.com/oauth2/authorize?client_id=466378653216014359&scope=bot%20applications.commands&permissions=536995904" },
|
||||||
|
{ text: "Bot status", link: "https://status.pluralkit.me/" }
|
||||||
],
|
],
|
||||||
sidebar: [
|
sidebar: [
|
||||||
"/",
|
"/",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue