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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -