add all old routes and handlers
add html index page when not authenticated fixed auth's handling of empty permissions
This commit is contained in:
29
constants/index_page.go
Normal file
29
constants/index_page.go
Normal file
@@ -0,0 +1,29 @@
|
||||
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>
|
||||
`
|
||||
Reference in New Issue
Block a user