# Dev, localhost and CORS

**URL:** https://discourse.gohugo.io/t/dev-localhost-and-cors/4499
**Category:** support
**Created:** [November 7, 2016, 9:12am UTC](https://discourse.gohugo.io/t/dev-localhost-and-cors/4499 "2016-11-07T09:12:43Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![sairam](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/sairam/32/2198_2.png) [@sairam](https://discourse.gohugo.io/u/sairam)
#### Post date: [November 9, 2016, 8:24pm UTC](https://discourse.gohugo.io/t/dev-localhost-and-cors/4499/10 "2016-11-09T20:24:33Z")

</div>

@digitalcraftsman The theme works fine and as expected when opened as `localhost:1313`, but not when opened as `127.0.0.1:1313`.

I see the font does not load on the latest version of Chrome on Mac OS Sierra which is expected (when opened through `127.0.0.1:1313`)

`{{ .Site.BaseURL }}` is being considered as `localhost` instead of `127.0.0.1` .

@gonzaloserrano could you provide the browser/OS information?

---

_[View the full topic](https://discourse.gohugo.io/t/dev-localhost-and-cors/4499)._
