rn
This commit is contained in:
@ -5,5 +5,5 @@ rm -rf ui
|
||||
|
||||
cd ismism.ts
|
||||
|
||||
deno bundle src/serve.ts ../cli/serve.js
|
||||
deno bundle cli/dbreset.ts ../cli/dbreset.js
|
||||
deno bundle src/ser.ts ../cli/ser.js
|
||||
deno bundle cli/dbset.ts ../cli/dbset.js
|
||||
|
@ -10,7 +10,7 @@ fi
|
||||
|
||||
sleep 3.0
|
||||
|
||||
nohup deno run --allow-net --allow-read cli/serve.js > log/ismism.log &
|
||||
nohup deno run --allow-net --allow-read cli/ser.js > log/ismism.log &
|
||||
nohup nginx -p . -c nginx.conf > log/nginx.log &
|
||||
|
||||
sleep 0.5
|
||||
|
@ -1,2 +0,0 @@
|
||||
// deno-lint-ignore no-explicit-any
|
||||
export type Ret<T extends (...args: any) => any> = Awaited<ReturnType<T>>
|
@ -1,7 +1,9 @@
|
||||
import { Ret } from "../ont/typ.ts"
|
||||
import { pas, Pas, pas_clear, pas_code, pas_issue } from "./pas.ts"
|
||||
import { is_re, pro_agd, pro_rec, pro_soc, pro_usr } from "./pro.ts"
|
||||
|
||||
// deno-lint-ignore no-explicit-any
|
||||
type Ret<T extends (...args: any) => any> = Awaited<ReturnType<T>>
|
||||
|
||||
export type PasPos = { jwt?: string | null, pas?: Pas | null }
|
||||
export type PasCode = Ret<typeof pas_code>
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { serve } from "https://deno.land/std@0.173.0/http/server.ts"
|
||||
import { jwk_load } from "./ontic/jwt.ts"
|
||||
import { utc_short } from "./ontic/utc.ts"
|
||||
import { pos, PasPos } from "./praxic/pos.ts"
|
||||
import { que } from "./praxic/que.ts"
|
||||
import { jwk_load } from "./ont/jwt.ts"
|
||||
import { utc_short } from "./ont/utc.ts"
|
||||
import { pos, PasPos } from "./pra/pos.ts"
|
||||
import { que } from "./pra/que.ts"
|
||||
|
||||
let etag = `W/"${Date.now()}"`
|
||||
|
Reference in New Issue
Block a user