Ajout d'une variable nom dans la conf et dans server
This commit is contained in:
parent
5fac3f9b37
commit
5003e5174e
@ -4,7 +4,8 @@ module.exports = {
|
||||
// Port sur lequel le serveur écoute
|
||||
// Attention si vous êtes sur une seedbox de bien choisir un port laisser libre par votre hébergeur
|
||||
// chez ultracc par exemple la commande est app-ports free
|
||||
port: Voir indications ci dessus,
|
||||
port: , //Voir indications ci dessus,
|
||||
name: 'Nom', //Choisir un nom
|
||||
|
||||
// choisir mysql ou sqlite
|
||||
dbtype: 'sqlite',
|
||||
|
||||
@ -53,7 +53,7 @@ autopostRouter.get('/login', (req, res) => {
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Login</title>
|
||||
<title>Login ${config.name}</title>
|
||||
<!-- Inclusion de Tailwind CSS via le CDN -->
|
||||
<script src="/js/index.global.js"></script>
|
||||
</head>
|
||||
@ -132,7 +132,7 @@ autopostRouter.get('/', async (req, res) => {
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Suivi Autopost</title>
|
||||
<title>Suivi Autopost ${config.name}</title>
|
||||
<script src="/js/index.global.js"></script>
|
||||
<script src="/jquery/jquery.min.js"></script>
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap" rel="stylesheet">
|
||||
@ -142,7 +142,7 @@ autopostRouter.get('/', async (req, res) => {
|
||||
<div class="mb-6">
|
||||
<div class="flex items-center justify-between">
|
||||
<h1 class="text-2xl md:text-3xl font-extrabold tracking-tight bg-clip-text text-transparent bg-gradient-to-r from-blue-400 to-cyan-300">
|
||||
Suivi Autopost
|
||||
Suivi Autopost ${config.name}
|
||||
</h1>
|
||||
<a href="/autopost/logout"
|
||||
class="inline-flex items-center gap-2 px-3 py-2 rounded-xl bg-red-600/90 hover:bg-red-600 text-white shadow-lg shadow-red-900/20 transition">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user