{
  "firestore": {
    "rules": "firestore/firestore.rules",
    "indexes": "firestore/firestore.indexes.json"
  },
  "hosting": {
    "public": "web-ng/dist/web-ng",
    "rewrites": [
      {
        "source": "/importCsv",
        "function": "importCsv"
      },
      {
        "source": "/exportCsv",
        "function": "exportCsv"
      },
      {
        "source": "**/!(*.*)",
        "destination": "/index.html"
      }
    ]
  },
  "functions": {
    "source": "functions"
  }
}

{
  "firestore": {
    "rules": "firestore/firestore.rules",
    "indexes": "firestore/firestore.indexes.json"
  },
  "hosting": {
    "public": "web-ng/dist/web-ng",
    "redirects": [
      {
        "source": "/p/[:]new",
        "destination": "/project/new",
        "type": 301
      },
      {
        "source": "/p/:id",
        "destination": "/project/:id",
        "type": 301
      }
    ],
    "rewrites": [
      {
        "source": "/importCsv",
        "function": "importCsv"
      },
      {
        "source": "/exportCsv",
        "function": "exportCsv"
      },
      {
        "source": "**/!(*.*)",
        "destination": "/index.html"
      }
    ]
  },
  "functions": {
    "source": "functions"
  }
}

Add redirects for old short URLs
Add redirects for old short URLs
