mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 17:25:16 -04:00
Migrate app.js to TypeScript
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
77e336dfda
commit
e87c8f04e5
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
|||
'use strict'
|
||||
|
||||
import { Revision } from "./models/revision"
|
||||
|
||||
// app
|
||||
// external modules
|
||||
var express = require('express')
|
||||
|
@ -28,7 +31,7 @@ var csp = require('./csp')
|
|||
|
||||
// server setup
|
||||
var app = express()
|
||||
var server = null
|
||||
var server: any = null
|
||||
if (config.useSSL) {
|
||||
var ca = (function () {
|
||||
var i, len, results
|
Loading…
Add table
Add a link
Reference in a new issue