diff --git a/src/server.ts b/src/server.ts index 7cde715..542f52c 100644 --- a/src/server.ts +++ b/src/server.ts @@ -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}; \ No newline at end of file diff --git a/src/types/db.d.ts b/src/types/db.d.ts index bd1b36f..696ec55 100644 --- a/src/types/db.d.ts +++ b/src/types/db.d.ts @@ -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;