increase chat length limit from 200 to 1000 on rdrama

pull/83/head
Aevann 2022-12-31 16:03:51 +02:00
parent 3d9569a59f
commit 9bd64ed1f6
2 changed files with 46 additions and 89 deletions

View File

@ -675,7 +675,6 @@ if SITE == 'rdrama.net':
SNAPPY_THREAD = 37749
NOTIFICATION_THREAD = 6489
CHAT_LENGTH_LIMIT = 200
TRUESCORE_CHAT_MINIMUM = 10
TRUESCORE_GHOST_MINIMUM = 10
NEW_USER_HAT_AGE = 7 * 86400

View File

@ -1,89 +1,47 @@
server {
server_name localhost;
client_max_body_size 100m;
listen 80;
listen [::]:80;
proxy_set_header Host $http_host;
include includes/headers;
<html lang="en">
<head>
<meta charset="utf-8">
<title>Marsey World</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
html, body {
width: 100%;
height: 100%;
background-color: #21262d;
location / {
proxy_pass http://localhost:5000/;
include includes/headers;
}
location /socket.io {
proxy_set_header Host $http_host;
proxy_http_version 1.1;
proxy_buffering off;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_pass http://localhost:5001/socket.io;
include includes/headers;
}
location /chat {
proxy_pass http://localhost:5001/chat;
include includes/headers;
}
location =/offline.html {
alias /rDrama/files/assets/offline.html;
include includes/headers;
}
error_page 502 = /502.html;
location =/502.html {
alias /rDrama/files/templates/errors/rDrama/502.html;
include includes/headers;
add_header Cache-Control "no-store";
}
location /images/ {
alias /images/;
include includes/serve-static;
}
location /videos/ {
alias /videos/;
include includes/serve-static;
}
location /audio/ {
alias /audio/;
include includes/serve-static;
}
location /songs/ {
alias /songs/;
include includes/serve-static;
}
location /asset_submissions/ {
alias /asset_submissions/;
include includes/serve-static;
}
location /archives/ {
alias /archives/;
include includes/serve-static;
}
location /assets/ {
alias /rDrama/files/assets/;
include includes/serve-static;
}
location /i/ {
alias /rDrama/files/assets/images/;
include includes/serve-static;
}
location /e/ {
alias /rDrama/files/assets/images/emojis/;
include includes/serve-static;
}
location =/robots.txt {
alias /rDrama/files/assets/robots.txt;
include includes/serve-static;
}
location =/icon.webp {
alias /rDrama/files/assets/images/rDrama/icon.webp;
include includes/serve-static;
}
location =/favicon.ico {
alias /rDrama/files/assets/images/rDrama/icon.webp;
include includes/serve-static;
}
}
display: flex;
justify-content: center;
align-items: center;
}
main {
text-align: center;
color: #c9d1d9;
font-family: sans-serif;
padding: 1em;
max-width: 320px;
}
h1 {
margin-bottom: 0.3em;
}
p {
font-size: 11px;
line-height: 1.2;
font-family: Bitstream Vera Sans, Tahoma, sans-serif;
margin-top: 0;
margin-bottom: 0;
}
.left {
text-align: justify;
}
.center { text-align: center; }
</style>
</head>
<body>
<main>
<img src="/e/marseyexcited.webp" />
<h1>Marsey World</h1>
<p class="left">You've stumbled upon a door where your mind is the key. There are none who will lend you guidance; these trials are yours to conquer alone. Entering here will take more than mere logic and strategy, but the criteria are just as hidden as what they reveal. Find yourself, and you will find the very thing hidden behind this page. Beyond here is something like a utopia&#8202;&mdash;&#8202;beyond here is marsey.world.</p>
<p class="center">This is a mirage.</p>
</main>
</body>
</html>