jsonCorsProxyUrl property

String jsonCorsProxyUrl

The URL of the CORS proxy for this JSON URL.

Implementation

String get jsonCorsProxyUrl {
  return isDev
      ? "https://europe-west1-aegee-leiden-app-dev.cloudfunctions.net/corsJson?url=${Uri.encodeComponent(this)}"
      : "https://europe-west1-aegee-leiden-app.cloudfunctions.net/corsJson?url=${Uri.encodeComponent(this)}";
}