wip fix prasi api

This commit is contained in:
Rizky
2024-02-22 04:55:01 +07:00
parent c916e47150
commit 1b77a5851d
8 changed files with 169 additions and 24 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export const deploy = {
await this.load(this.config.deploy.ts);
},
async load(ts: string) {
console.log(`Loading site: ${this.config.site_id} [ts: ${ts}]`);
console.log(`Loading site: ${this.config.site_id} ${ts}`);
try {
g.deploy.gz = JSON.parse(
+1
View File
@@ -10,6 +10,7 @@ import { prodIndex } from "./prod-index";
type SingleRoute = {
url: string;
args: string[];
raw: boolean;
fn: (...arg: any[]) => Promise<any>;
path: string;
};