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

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -