Pass through the origin
This commit is contained in:
parent
b7ff454453
commit
98a868e8cb
2 changed files with 3 additions and 1 deletions
|
@ -104,6 +104,7 @@ class AstroBuilder {
|
|||
allPages,
|
||||
astroConfig: this.config,
|
||||
logging: this.logging,
|
||||
origin: this.origin,
|
||||
pageNames,
|
||||
routeCache: this.routeCache,
|
||||
viteConfig: this.viteConfig,
|
||||
|
|
|
@ -15,6 +15,7 @@ export interface ScanBasedBuildOptions {
|
|||
allPages: AllPagesData;
|
||||
astroConfig: AstroConfig;
|
||||
logging: LogOptions;
|
||||
origin: string;
|
||||
pageNames: string[];
|
||||
routeCache: RouteCache;
|
||||
viteConfig: ViteConfigWithSSR;
|
||||
|
@ -22,7 +23,7 @@ export interface ScanBasedBuildOptions {
|
|||
}
|
||||
|
||||
export async function build(opts: ScanBasedBuildOptions) {
|
||||
const { allPages, astroConfig, logging, pageNames, routeCache, viteConfig, viteServer } = opts;
|
||||
const { allPages, astroConfig, logging, origin, pageNames, routeCache, viteConfig, viteServer } = opts;
|
||||
|
||||
// Internal maps used to coordinate the HTML and CSS plugins.
|
||||
const internals = createBuildInternals();
|
||||
|
|
Loading…
Reference in a new issue