Merge branch 'main' of git.odit.services:lfk/backend into main

This commit is contained in:
2020-11-27 18:46:08 +01:00
4 changed files with 6 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
import {createConnection} from "typeorm";
import { createConnection } from "typeorm";
export default async ()=> {
export default async () => {
const connection = await createConnection();
connection.synchronize();
return connection;

View File

@@ -1,4 +1,4 @@
import {Application} from "express";
import { Application } from "express";
import bodyParser from 'body-parser';
import cors from 'cors';