web deployment - When deploying with Firebase hosting, I get hosting.rewrites[0] is not exactly one from [subschema 0],[subschema 1] -


deploying application firebase hosting, following error:

http error: 400, hosting.rewrites[0] not 1 [subschema 0],[subschema 1] 

this occurs simple configuration like:

{   "hosting": {     "public": "public",     "ignore": [       "firebase.json",       "**/.*",       "**/node_modules/**"     ],     "rewrites": [       {         "source": "/*/*",         "destination": "index.html"       }     ]   } } 

this configuration work when serving locally.

apparently, error indicates should put '/' in front of 'index.html'. works local , remote deploy.


Comments

Popular posts from this blog

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -

angular - DownloadURL return null in below code -