effectiveJasprServerServiceName property

String get effectiveJasprServerServiceName

Effective Cloud Run service name for the Jaspr server binary. Falls back to <appName>-web when jasprServerServiceName is null. Dashes-not-underscores because Cloud Run rejects underscores in service names.

Implementation

String get effectiveJasprServerServiceName {
  final String raw = jasprServerServiceName ?? '${appName}_web';
  return raw.replaceAll('_', '-');
}