mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-24 18:51:50 +00:00
errors.ts: Convert require to import
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
5cda02590b
commit
2121e271ac
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
const config = require('./config')
|
||||
import { config } from './config'
|
||||
|
||||
function responseError (res, code: number, detail: string, msg: string): void {
|
||||
res.status(code).render('error.ejs', {
|
||||
|
|
Loading…
Reference in a new issue