parent
080f5c1997
commit
936b7edf00
|
@ -301,11 +301,11 @@ extra_sync(Extra_Progress *progress)
|
|||
|
||||
req->progress = progress;
|
||||
|
||||
req->themes = ecore_con_url_custom_new("http://" HOSTNAME "/v1/themes/", "GET");
|
||||
req->themes = ecore_con_url_custom_new("https://" HOSTNAME "/v1/themes/", "GET");
|
||||
ecore_con_url_additional_header_add(req->themes, "Accept", "text/json");
|
||||
ecore_con_url_data_set(req->themes, eina_strbuf_new());
|
||||
|
||||
req->backgrounds = ecore_con_url_custom_new("http://" HOSTNAME "/v1/backgrounds/", "GET");
|
||||
req->backgrounds = ecore_con_url_custom_new("https://" HOSTNAME "/v1/backgrounds/", "GET");
|
||||
ecore_con_url_additional_header_add(req->backgrounds, "Accept", "text/json");
|
||||
ecore_con_url_data_set(req->backgrounds, eina_strbuf_new());
|
||||
|
||||
|
@ -385,7 +385,7 @@ _extra_preview_path_pair_gen(const char *resource, Extra_Base_Object *obj)
|
|||
remote = eina_strbuf_new();
|
||||
local = eina_strbuf_new();
|
||||
|
||||
eina_strbuf_append_printf(remote, "http://" HOSTNAME "/%s/preview/%s.png", resource, obj->id);
|
||||
eina_strbuf_append_printf(remote, "https://" HOSTNAME "/%s/preview/%s.png", resource, obj->id);
|
||||
eina_strbuf_append_printf(local, "%s/%s/%s-%s-%d.png", efreet_cache_home_get(), PACKAGE_NAME, resource, obj->id, obj->version);
|
||||
|
||||
result->local = eina_strbuf_string_steal(local);
|
||||
|
@ -470,7 +470,7 @@ extra_theme_download_url_get(Extra_Theme *theme)
|
|||
EINA_SAFETY_ON_NULL_RETURN_VAL(theme, NULL);
|
||||
|
||||
buf = eina_strbuf_new();
|
||||
eina_strbuf_append(buf, "http://" HOSTNAME "/themes/");
|
||||
eina_strbuf_append(buf, "https://" HOSTNAME "/themes/");
|
||||
eina_strbuf_append_printf(buf, "%s-%d.edj", theme->obj.id, theme->obj.version);
|
||||
|
||||
url = eina_strbuf_string_steal(buf);
|
||||
|
@ -664,7 +664,7 @@ extra_background_download_url_get(Extra_Background *background)
|
|||
EINA_SAFETY_ON_NULL_RETURN_VAL(background, NULL);
|
||||
|
||||
buf = eina_strbuf_new();
|
||||
eina_strbuf_append(buf, "http://" HOSTNAME "/backgrounds/");
|
||||
eina_strbuf_append(buf, "https://" HOSTNAME "/backgrounds/");
|
||||
eina_strbuf_append_printf(buf, "%s-%d.edj", background->obj.id, background->obj.version);
|
||||
|
||||
url = eina_strbuf_string_steal(buf);
|
||||
|
|
Loading…
Reference in New Issue