Skip to content

Commit

Permalink
refactor: server.origin add type
Browse files Browse the repository at this point in the history
  • Loading branch information
ErKeLost committed Dec 23, 2024
1 parent 3643f58 commit 8e97f90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/core/src/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ export interface ServerOptions extends CommonServerOptions {
server: http.Server;
};
appType?: 'spa' | 'mpa' | 'custom';
/**
* Origin for the generated asset URLs.
*/
origin?: string;
}

type ServerConfig = CommonServerOptions & NormalizedServerConfig;
Expand Down

0 comments on commit 8e97f90

Please sign in to comment.