This commit is contained in:
monoid 2021-01-10 15:46:52 +09:00
parent b0bd2be5e4
commit 06933699c0
2 changed files with 2 additions and 1 deletions

View File

@ -82,6 +82,7 @@ export async function create_server(){
export const start_server = (server: Koa)=>{
let setting = get_setting();
console.log("start server");
//todo : support https
return server.listen(setting.port,setting.localmode ? "127.0.0.1" : "0.0.0.0");
}
export default {create_server, start_server};

2
src/types/db.d.ts vendored
View File

@ -18,7 +18,7 @@ declare module "knex" {
basepath: string;
filename: string;
content_hash?: string;
additional?: string; //eager loading
additional?: string;
};
content_tag_relation: {
content_id: number;