Skip to content

Commit 0072512

Browse files
committed
Respect Hosting.Public (fixes #21)
1 parent cbd1d24 commit 0072512

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

firebase.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ func processWithConfig(w http.ResponseWriter, r *http.Request, config string) st
9393
if mf.Public != "" {
9494
dir = mf.Public
9595
}
96+
if mf.Hosting != nil && mf.Hosting.Public != "" {
97+
dir = mf.Hosting.Public
98+
}
9699

97100
done, err := mf.processRedirects(w, r)
98101
if err != nil {

0 commit comments

Comments
 (0)