mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor
This commit is contained in:
parent
d8b1c82056
commit
71287d15d0
2 changed files with 5 additions and 5 deletions
|
@ -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')
|
||||
|
|
|
@ -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}`)
|
||||
|
|
Loading…
Reference in a new issue