Last active
November 17, 2018 04:06
-
-
Save akhil-gautam/6d62b6c33a964bcd2aba9d0e881dc9b1 to your computer and use it in GitHub Desktop.
firebase.json file for multiple hsoting on firebase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"hosting": [ | |
{ | |
"target": "appone", | |
"public": "dist1", | |
"ignore": [ | |
"firebase.json", | |
"**/.*", | |
"**/node_modules/**" | |
], | |
"rewrites": [ | |
{ | |
"source": "**", | |
"destination": "/index.html" | |
} | |
] | |
}, | |
{ | |
"target": "apptwo", | |
"public": "dist2", | |
"ignore": [ | |
"firebase.json", | |
"**/.*", | |
"**/node_modules/**" | |
], | |
"rewrites": [ | |
{ | |
"source": "**", | |
"destination": "/index.html" | |
} | |
] | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment