fix
This commit is contained in:
@ -62,14 +62,15 @@ export interface IDomainConfig {
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper functions for type checking - now always assume route-based config
|
||||
* Helper functions for type checking configuration types
|
||||
*/
|
||||
export function isLegacyOptions(options: any): boolean {
|
||||
return false; // No longer supporting legacy options
|
||||
return !!(options.domainConfigs && options.domainConfigs.length > 0 &&
|
||||
(!options.routes || options.routes.length === 0));
|
||||
}
|
||||
|
||||
export function isRoutedOptions(options: any): boolean {
|
||||
return true; // Always assume routed options
|
||||
return !!(options.routes && options.routes.length > 0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user