mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2025-01-10 15:19:28 -07:00
Code consistency
This commit is contained in:
parent
a90ca40505
commit
38ab04c887
1 changed files with 1 additions and 2 deletions
|
@ -37,8 +37,7 @@ md.use(require("markdown-it-table-of-contents"), { "includeLevel": [2, 3], "list
|
||||||
md.use(require('markdown-it-title'));
|
md.use(require('markdown-it-title'));
|
||||||
|
|
||||||
|
|
||||||
if(process.env.ONION_URL)
|
if (process.env.ONION_URL) {
|
||||||
{
|
|
||||||
router.get('/*', (req, res, next) => {
|
router.get('/*', (req, res, next) => {
|
||||||
res.header('Onion-Location', process.env.ONION_URL);
|
res.header('Onion-Location', process.env.ONION_URL);
|
||||||
next();
|
next();
|
||||||
|
|
Loading…
Reference in a new issue