mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-11-26 21:30:42 +03:00
Fix footer
This commit is contained in:
parent
731809266c
commit
8178709f67
2 changed files with 2 additions and 2 deletions
2
index.js
2
index.js
|
@ -7,7 +7,7 @@ const error = require("./errors/error.js"),
|
||||||
fs = require("fs"),
|
fs = require("fs"),
|
||||||
app = express();
|
app = express();
|
||||||
|
|
||||||
mongoose.connect(process.env.MONGO_DB_URL, () => console.log("Database is connected"));
|
mongoose.connect(process.env.MONGO_DB_URL ?? "mongodb://localhost:27017/akf-forum", () => console.log("Database is connected"));
|
||||||
|
|
||||||
app.use(session({ secret: 'secret', resave: true, saveUninitialized: true }));
|
app.use(session({ secret: 'secret', resave: true, saveUninitialized: true }));
|
||||||
app.use(bodyParser.urlencoded({ extended: true }));
|
app.use(bodyParser.urlencoded({ extended: true }));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<!-- This website is powered by AKF-Forum -->
|
<!-- This website is powered by AKF-Forum -->
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p>This website is powered by AKF-Forum</p>
|
<!-- <p>This website is powered by AKF-Forum</p> -->
|
||||||
</div>
|
</div>
|
Loading…
Reference in a new issue