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:
38
node_modules/astro/dist/cli/flags.js
generated
vendored
Normal file
38
node_modules/astro/dist/cli/flags.js
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
import { Logger } from "../core/logger/core.js";
|
||||
import { nodeLogDestination } from "../core/logger/node.js";
|
||||
function flagsToAstroInlineConfig(flags) {
|
||||
return {
|
||||
// Inline-only configs
|
||||
configFile: typeof flags.config === "string" ? flags.config : void 0,
|
||||
mode: typeof flags.mode === "string" ? flags.mode : void 0,
|
||||
logLevel: flags.verbose ? "debug" : flags.silent ? "silent" : void 0,
|
||||
force: flags.force ? true : void 0,
|
||||
// Astro user configs
|
||||
root: typeof flags.root === "string" ? flags.root : void 0,
|
||||
site: typeof flags.site === "string" ? flags.site : void 0,
|
||||
base: typeof flags.base === "string" ? flags.base : void 0,
|
||||
outDir: typeof flags.outDir === "string" ? flags.outDir : void 0,
|
||||
server: {
|
||||
port: typeof flags.port === "number" ? flags.port : void 0,
|
||||
host: typeof flags.host === "string" || typeof flags.host === "boolean" ? flags.host : void 0,
|
||||
open: typeof flags.open === "string" || typeof flags.open === "boolean" ? flags.open : void 0,
|
||||
allowedHosts: typeof flags.allowedHosts === "string" ? flags.allowedHosts.split(",") : typeof flags.allowedHosts === "boolean" && flags.allowedHosts === true ? flags.allowedHosts : []
|
||||
}
|
||||
};
|
||||
}
|
||||
function createLoggerFromFlags(flags) {
|
||||
const logging = {
|
||||
dest: nodeLogDestination,
|
||||
level: "info"
|
||||
};
|
||||
if (flags.verbose) {
|
||||
logging.level = "debug";
|
||||
} else if (flags.silent) {
|
||||
logging.level = "silent";
|
||||
}
|
||||
return new Logger(logging);
|
||||
}
|
||||
export {
|
||||
createLoggerFromFlags,
|
||||
flagsToAstroInlineConfig
|
||||
};
|
||||
Reference in New Issue
Block a user