First time here? Check out the FAQ!
3

External http references in css and js files when serving askbot via ssl
 

Where can I find the references below in the style/js files?
When I run my askbot application under secure ssl/https I get an error because it draws these fonts from an http source. I'd like to change them to a https request if possible.

http://themes.googleusercontent.com/static/fonts/yanonekaffeesatz/v4/We_iSDqttE3etzfdfhuPRbJjSLMfVFmTspsxH0yGxjj3rGVtsTkPsbDajuO5ueQw.woff

http://themes.googleusercontent.com/static/fonts/yanonekaffeesatz/v4/We_iSDqttE3etzfdfhuPRbHVephy08vG3A_n649omsL3rGVtsTkPsbDajuO5ueQw.woff

http://themes.googleusercontent.com/static/fonts/yanonekaffeesatz/v4/YDAoLskQQ5MOAgvHUQCcLQa6gm6bS00u2Qn-iPLo1Go.woff

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
updated 12 years ago
This post is a wiki. Anyone with karma >100 is welcome to improve it.

Comments

see more comments

1 Answer

0

Try the latest code from the master branch. I've added locally stored font.

Also add to settings.py:

ASKBOT_USE_LOCAL_FONTS = True

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
link

Comments

1

I've found that there are still http references for:

  • gravitar;
  • jquery; and
  • google fonts

I've made a branch from current master that selects the secure version of these:

https://github.com/jtrain/askbot-devel/tree/load-ssl

Jtrain's avatar Jtrain (12 years ago)

@Evgeny Is it posiible to add @Jtrain 's improvements to the master branch?

Toms's avatar Toms (12 years ago)

@Jtrain, does that solution work when the site is hosted on http, not https?

Evgeny's avatar Evgeny (12 years ago)
see more comments