059ea8a047
add html index page when not authenticated fixed auth's handling of empty permissions
30 lines
562 B
Go
30 lines
562 B
Go
package constants
|
|
|
|
const IndexPage = `
|
|
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Pterodactly wings</title>
|
|
<style>
|
|
body {
|
|
background: #222;
|
|
color: #074cd5;
|
|
}
|
|
pre {
|
|
margin: auto;
|
|
}
|
|
</style
|
|
</head>
|
|
<body>
|
|
<pre>
|
|
____
|
|
__ Pterodactyl _____/___/_______ _______ ______
|
|
\_____\ \/\/ / / / __ / ___/
|
|
\___\ / / / / /_/ /___ /
|
|
\___/\___/___/___/___/___ /______/
|
|
/_______/
|
|
</pre>
|
|
</body>
|
|
</html>
|
|
`
|