Skip to content
Browse files

[fix] base_url: fix favicon url

  • Loading branch information...
1 parent 167d1e6 commit 0091b784cf81c998f38a6020514e66333dd43968 Hugo Heuzard committed Jun 30, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 stdlib/core/web/resource/resource_private.opa
View
4 stdlib/core/web/resource/resource_private.opa
@@ -524,8 +524,8 @@ customize_header(add) = some({
})
customizer_for_icon =
- | { environment = _; renderer={ Trident =_ } } -> customize_header(<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />)
- | _ -> customize_header(<link rel="icon" type="image/gif" href="/favicon.gif" />)
+ | { environment = _; renderer={ Trident =_ } } -> customize_header(<link rel="shortcut icon" type="image/x-icon" href="{Resource.base_url}/favicon.ico" />)
+ | _ -> customize_header(<link rel="icon" type="image/gif" href="{Resource.base_url}/favicon.gif" />)
customizer_for_google_frame = // IE google frame
| { environment = _; renderer={ Trident =_ } } -> customize_header(<meta http-equiv="X-UA-Compatible" content="chrome=1"/>)

0 comments on commit 0091b78

Please sign in to comment.
Something went wrong with that request. Please try again.