comment
This commit is contained in:
parent
b0bd2be5e4
commit
06933699c0
@ -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
2
src/types/db.d.ts
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user