Changes for nginx settings on server

This commit is contained in:
2017-10-15 16:55:12 +03:00
parent b72c122e5a
commit 3ad3b43e24
3 changed files with 7 additions and 7 deletions

View file

@ -77,7 +77,7 @@ def main():
server = FleastServer()
d = Daemonizer(cherrypy.engine)
d.subscribe()
cherrypy.quickstart(server, '/fleast', './server.conf')
cherrypy.quickstart(server, '/', './server.conf')
if __name__ == '__main__':

View file

@ -5,8 +5,8 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FLeast</title>
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="favicon.ico" type="image/png">
<link rel="stylesheet" href="/fleast/style.css">
<link rel="shortcut icon" href="/flaest/favicon.ico" type="image/png">
</head>
@ -18,7 +18,7 @@
<article>
<h2>Usage:</h2>
<p>Write the name of the game and select the language.<br>The name must _exactly_ match the name of the game on twitch.tv i.e. csgo must be "Counter-Strike: Global Offensive".</p>
<form method="get" action="./">
<form method="get" action="/fleast">
<table class="Input">
<tbody>
<tr>

View file

@ -5,8 +5,8 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FLeast</title>
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="favicon.ico" type="image/png">
<link rel="stylesheet" href="/fleast/style.css">
<link rel="shortcut icon" href="/fleast/favicon.ico" type="image/png">
</head>
<body>
@ -17,7 +17,7 @@
<article>
<h2>Usage:</h2>
<p>Write the name of the game and select the language.<br>The name must _exactly_ match the name of the game on twitch.tv i.e. csgo must be "Counter-Strike: Global Offensive".</p>
<form method="get" action="./">
<form method="get" action="/fleast">
<table class="Input">
<tbody>
<tr>