'Multisite Firebase deploy Hosting Error 500
I try to deploy a little webpage with firebase hosting for some tests.
I don't want it to be hosted on the "main" url of the firebase project. Since it's already taken by the main website.
So I created another site like this :
Then I just added firebase to the project and wrote this firebase.json :
{
"hosting": {
"target": "thumbnail",
"public": "dist/spotify-thumbnail",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Then to deploy I type on the console :
firebase target:apply hosting thumbnail thumbnail-spotify.web.app
firebase deploy --only hosting
But I get :
=== Deploying to 'pocspotifyautomate'...
i deploying hosting
Error: HTTP Error: 500, Internal error encountered.
Other stackoverflow and forum talks about bugs on Firebase platform side, but that was years ago, and maybe not the case here, since I can deploy the main website without any issue. s Do someone have an idea ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
