full site update
This commit is contained in:
2
node_modules/astro/dist/cli/preview/index.d.ts
generated
vendored
2
node_modules/astro/dist/cli/preview/index.d.ts
generated
vendored
@@ -2,5 +2,5 @@ import { type Flags } from '../flags.js';
|
||||
interface PreviewOptions {
|
||||
flags: Flags;
|
||||
}
|
||||
export declare function preview({ flags }: PreviewOptions): Promise<import("../../@types/astro.js").PreviewServer | undefined>;
|
||||
export declare function preview({ flags }: PreviewOptions): Promise<import("../../types/public/preview.js").PreviewServer | undefined>;
|
||||
export {};
|
||||
|
4
node_modules/astro/dist/cli/preview/index.js
generated
vendored
4
node_modules/astro/dist/cli/preview/index.js
generated
vendored
@@ -13,6 +13,10 @@ async function preview({ flags }) {
|
||||
["--host", `Listen on all addresses, including LAN and public addresses.`],
|
||||
["--host <custom-address>", `Expose on a network IP address at <custom-address>`],
|
||||
["--open", "Automatically open the app in the browser on server start"],
|
||||
[
|
||||
"--allowed-hosts",
|
||||
"Specify a comma-separated list of allowed hosts or allow any hostname."
|
||||
],
|
||||
["--help (-h)", "See all available flags."]
|
||||
]
|
||||
},
|
||||
|
Reference in New Issue
Block a user