Created
September 1, 2022 09:53
-
-
Save zanona/3706c99b0cb195c050c8346ae016921c to your computer and use it in GitHub Desktop.
redirect root firebase app hosting to another domain (excludes __/ files for auth)
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": { | |
"public": "./", | |
"site": "example", | |
"ignore": ["firebase.json"], | |
"redirects": [ | |
{ | |
"regex": "^/([^_].*)", | |
"destination": "https://example.com/:1", | |
"type": 301 | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment