mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-03-29 16:01:43 +01:00
add discord footer link and 404 response for invalid hashs
This commit is contained in:
parent
6535907095
commit
e78a2b9130
@ -5,9 +5,15 @@
|
||||
<dom-module id="void-main">
|
||||
<template>
|
||||
<style>
|
||||
a { color: inherit; text-decoration: none; }
|
||||
a:hover { text-decoration: underline; }
|
||||
.footer {
|
||||
text-align:center;
|
||||
margin-top: 20px;
|
||||
margin-top: 10px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
img {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
@media(max-width: 470px) {
|
||||
@ -24,6 +30,9 @@
|
||||
</template>
|
||||
|
||||
<div class="footer">
|
||||
<div class="links">
|
||||
<a href="https://discord.gg/8BkxTGs">Discord</a>
|
||||
</div>
|
||||
<img src="/graph"/>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -71,7 +71,9 @@
|
||||
$db->AddView($f->hash160);
|
||||
$redis->incr($hashKey);
|
||||
}
|
||||
}else{
|
||||
http_response_code(404);
|
||||
}
|
||||
|
||||
$redis->close();
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user