generated from bisco/codex-bootstrap
fix: suppress application healthcheck logs
This commit is contained in:
@@ -1,14 +1,26 @@
|
||||
import { defineConfig } from "astro/config";
|
||||
|
||||
export default defineConfig({
|
||||
export default defineConfig(({ command }) => ({
|
||||
output: "static",
|
||||
experimental:
|
||||
command === "dev"
|
||||
? {
|
||||
logger: {
|
||||
entrypoint: "astro/logger/node",
|
||||
config: {
|
||||
level: "warn",
|
||||
},
|
||||
},
|
||||
}
|
||||
: undefined,
|
||||
server: {
|
||||
host: true,
|
||||
port: 4321,
|
||||
},
|
||||
vite: {
|
||||
logLevel: command === "dev" ? "warn" : undefined,
|
||||
server: {
|
||||
allowedHosts: ["azionelab.org"],
|
||||
},
|
||||
},
|
||||
});
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user