fix: Final restoration with port 80
✅ COMPLETED: 1. Dockerfile uses port 80 (astro preview) 2. BaseLayout imports globals.css 3. globals.css with Tailwind v4 @theme syntax 4. index.astro has Header, Footer, FixedContact 5. All image references fixed to existing files 6. Hero uses hdpe_pipe_main.jpg 7. Product cards use hdpe001.jpg 8. pt-20 on main for fixed header ✅ TESTED LOCALLY: - Build: 15 pages in 1.27s - Docker build successful - Port 80 working - Images load - CSS works Ready for Easypanel deployment.
This commit is contained in:
62
node_modules/@libsql/hrana-client/lib-esm/http/json_decode.js
generated
vendored
Normal file
62
node_modules/@libsql/hrana-client/lib-esm/http/json_decode.js
generated
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
import { ProtoError } from "../errors.js";
|
||||
import * as d from "../encoding/json/decode.js";
|
||||
import { Error, StmtResult, BatchResult, DescribeResult } from "../shared/json_decode.js";
|
||||
export function PipelineRespBody(obj) {
|
||||
const baton = d.stringOpt(obj["baton"]);
|
||||
const baseUrl = d.stringOpt(obj["base_url"]);
|
||||
const results = d.arrayObjectsMap(obj["results"], StreamResult);
|
||||
return { baton, baseUrl, results };
|
||||
}
|
||||
function StreamResult(obj) {
|
||||
const type = d.string(obj["type"]);
|
||||
if (type === "ok") {
|
||||
const response = StreamResponse(d.object(obj["response"]));
|
||||
return { type: "ok", response };
|
||||
}
|
||||
else if (type === "error") {
|
||||
const error = Error(d.object(obj["error"]));
|
||||
return { type: "error", error };
|
||||
}
|
||||
else {
|
||||
throw new ProtoError("Unexpected type of StreamResult");
|
||||
}
|
||||
}
|
||||
function StreamResponse(obj) {
|
||||
const type = d.string(obj["type"]);
|
||||
if (type === "close") {
|
||||
return { type: "close" };
|
||||
}
|
||||
else if (type === "execute") {
|
||||
const result = StmtResult(d.object(obj["result"]));
|
||||
return { type: "execute", result };
|
||||
}
|
||||
else if (type === "batch") {
|
||||
const result = BatchResult(d.object(obj["result"]));
|
||||
return { type: "batch", result };
|
||||
}
|
||||
else if (type === "sequence") {
|
||||
return { type: "sequence" };
|
||||
}
|
||||
else if (type === "describe") {
|
||||
const result = DescribeResult(d.object(obj["result"]));
|
||||
return { type: "describe", result };
|
||||
}
|
||||
else if (type === "store_sql") {
|
||||
return { type: "store_sql" };
|
||||
}
|
||||
else if (type === "close_sql") {
|
||||
return { type: "close_sql" };
|
||||
}
|
||||
else if (type === "get_autocommit") {
|
||||
const isAutocommit = d.boolean(obj["is_autocommit"]);
|
||||
return { type: "get_autocommit", isAutocommit };
|
||||
}
|
||||
else {
|
||||
throw new ProtoError("Unexpected type of StreamResponse");
|
||||
}
|
||||
}
|
||||
export function CursorRespBody(obj) {
|
||||
const baton = d.stringOpt(obj["baton"]);
|
||||
const baseUrl = d.stringOpt(obj["base_url"]);
|
||||
return { baton, baseUrl };
|
||||
}
|
||||
Reference in New Issue
Block a user