This commit is contained in:
les 2021-03-15 22:27:31 +01:00
parent d8b1c82056
commit 71287d15d0
No known key found for this signature in database
GPG key ID: 352918250B012177
2 changed files with 5 additions and 5 deletions

View file

@ -15,7 +15,7 @@ v-container
:src='imgPath'
:lazy-src='thumbImgPath'
v-if='event.image_path')
.p-description.text-body-1.px-5.mt-5(v-else v-html='event.description')
.p-description.text-body-1(v-else v-html='event.description')
//- template(v-slot:placeholder)
//- v-row(
@ -66,7 +66,7 @@ v-container
:href='`/api/event/${event.id}.ics`')
v-icon mdi-calendar-export
.p-description.text-body-1.px-5.ma-5(v-if='event.image_path' v-html='event.description')
.p-description.text-body-1(v-if='event.image_path' v-html='event.description')
//- resources from fediverse
#resources.mt-1(v-if='settings.enable_federation')

View file

@ -13,8 +13,8 @@ const exportController = require('./api/controller/export')
const eventController = require('./api/controller/event')
const announceController = require('./api/controller/announce')
// const metricsController = require('./metrics')
const promBundle = require('express-prom-bundle')
const metricsMiddleware = promBundle({ includeMethod: true })
// const promBundle = require('express-prom-bundle')
// const metricsMiddleware = promBundle({ includeMethod: true })
const helpers = require('./helpers')
const app = express()
@ -22,7 +22,7 @@ const app = express()
// ignore unimplemented ping url from fediverse
app.use(spamFilter)
app.use(metricsMiddleware)
// app.use(metricsMiddleware)
app.use((req, res, next) => {
log.debug(`${req.method} ${req.path}`)