nielse63/312-Development

View on GitHub
static.json

Summary

Maintainability
Test Coverage
{
  "root": "dist",
  "https_only": true,
  "clean_urls": true,
  "error_page": "404.html",
  "routes": {
    "/**": "index.html"
  },
  "proxies": {
    "/api/": {
      "origin": "${API_HOST}/api"
    }
  },
  "headers": {
    "/": {
      "Cache-Control": "no-store, no-cache"
    },
    "**.js": {
      "Cache-Control": "public, max-age=31536000"
    },
    "**.css": {
      "Cache-Control": "public, max-age=31536000"
    },
    "**.jpg": {
      "Cache-Control": "public, max-age=31536000"
    }
  }
}