samedi 5 novembre 2016

How to rewrite URL to another folder using Firebase?

I would like to rewrite URL for example myweb.com/index and show content of http://ift.tt/2eaLhlR and I want to do that for all pages, that they would be showing content of the same file but in the directory production. I mean, that Firebase.json would look something like this (of course this doesn't work):

{
    "hosting": {
        "public": "public",
        "cleanUrls": true,
        "rewrites": [ {
            "source": "**",
            "destination": "/production/**"
        }
        ]


    }
}




Aucun commentaire:

Enregistrer un commentaire